1 --- eventum-20060112/misc/scm/process_cvs_commits.php 2006-01-24 17:10:02.000000000 +0200
2 +++ /tmp/scm 2006-01-24 17:09:31.000000000 +0200
4 $msg .= "Host: $eventum_domain\r\n";
5 $msg .= "Connection: Close\r\n\r\n";
7 + $buf = fgets($fp, 4096);
8 + list($proto, $status, $msg) = explode(' ', trim($buf), 3);
9 + if ($status != '200') {
10 + echo "Error: Could not ping the Eventum SCM handler script: HTTP status code: $status $msg\n";