Print callstack

This commit is contained in:
kaetemi 2014-11-07 23:37:39 +01:00
parent aee9f17acb
commit 80105b365c

View file

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