Print callstack

This commit is contained in:
kaetemi 2014-11-07 23:37:39 +01:00
parent a7fe1c3f7f
commit 1b4b07cf44

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
}