[Phphtmllib-devel] SF.net SVN: phphtmllib:[3173] trunk/open2300/lib/init.inc
Status: Beta
Brought to you by:
hemna
From: <he...@us...> - 2008-11-07 04:43:46
|
Revision: 3173 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3173&view=rev Author: hemna Date: 2008-11-07 04:43:42 +0000 (Fri, 07 Nov 2008) Log Message: ----------- dump the error to the app log Modified Paths: -------------- trunk/open2300/lib/init.inc Modified: trunk/open2300/lib/init.inc =================================================================== --- trunk/open2300/lib/init.inc 2008-11-07 04:41:21 UTC (rev 3172) +++ trunk/open2300/lib/init.inc 2008-11-07 04:43:42 UTC (rev 3173) @@ -65,6 +65,7 @@ if (!Config::singleton()->get('debug')) { $page = new ExceptionErrorPage(); print $page->render(); + $GLOBALS["log"]->emerg("Uncaught Exception", $exception); return; } else { $html = '<table width="100%" cellpadding="2" cellspacing="0" style="border:1px solid #9999ff;">'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |