Print callstack

--HG--
branch : develop
This commit is contained in:
kaetemi 2014-11-07 23:37:39 +01:00
parent 91ad193104
commit 70ace8b7d4

View file

@ -145,6 +145,7 @@
{ {
$logFile = new CWwwLog(); $logFile = new CWwwLog();
$logFile->logStr("PHP ERROR/$errno $errmsg ($filename:$linenum)"); $logFile->logStr("PHP ERROR/$errno $errmsg ($filename:$linenum)");
$logFile->logStr("PHP CALLSTACK/" . print_r(debug_backtrace(), TRUE));
// Never die after an error // Never die after an error
} }