[geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.658,1.659
Oliver
ospiess at qs1489.pair.com
Tue Oct 9 02:28:42 EDT 2007
Update of /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/public_html
In directory qs1489.pair.com:/tmp/cvs-serv40428
Modified Files:
lib-common.php
Log Message:
log all PHP error that are hidden from the user to error.log
Index: lib-common.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v
retrieving revision 1.658
retrieving revision 1.659
diff -C2 -d -r1.658 -r1.659
*** lib-common.php 28 Sep 2007 01:33:06 -0000 1.658
--- lib-common.php 9 Oct 2007 06:28:40 -0000 1.659
***************
*** 6391,6394 ****
--- 6391,6397 ----
}
+ // if we do not throw the error back to an admin, still log it in the error.log
+ COM_errorLog("$errno - $errstr @ $errfile line $errline", 1);
+
/* Does the theme implement an error message html file? */
if(file_exists($_CONF['path_layout'].'errormessage.html'))
More information about the geeklog-cvs
mailing list