Author: glen                         Date: Thu Mar 15 17:14:56 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use SCRIPT_NAME rather PHP_SELF as later not available in FCGI mode

---- Files affected:
SOURCES:
   eventum-errorhandler.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/eventum-errorhandler.patch
diff -u SOURCES/eventum-errorhandler.patch:1.3 
SOURCES/eventum-errorhandler.patch:1.4
--- SOURCES/eventum-errorhandler.patch:1.3      Tue Mar 13 23:22:42 2007
+++ SOURCES/eventum-errorhandler.patch  Thu Mar 15 18:14:51 2007
@@ -105,7 +105,7 @@
 -            $msg .= "A more detailed error message follows:\n\n";
 -            $msg .= "'" . $error_msg[1] . "'\n\n";
 +        $msg .= $notify_msg;
-+        $msg .= "That happened on page '" . $_SERVER['PHP_SELF'] . "' from IP 
Address '" . $_SERVER['REMOTE_ADDR'] . "' coming from the page (referrer) '" . 
$_SERVER['HTTP_REFERER'] . "'.\n\n";
++        $msg .= "That happened on page '" . $_SERVER['SCRIPT_NAME'] . "' from 
IP Address '" . $_SERVER['REMOTE_ADDR'] . "' coming from the page (referrer) '" 
. $_SERVER['HTTP_REFERER'] . "'.\n\n";
 +        $msg .= "The user agent given was '" . $_SERVER['HTTP_USER_AGENT'] . 
"'.\n\n";
 +        $msg .= "-- \nSincerely yours,\nAutomated Error_Handler Class";
 +
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/SOURCES/eventum-errorhandler.patch?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to