Print callstack

--HG--
branch : develop
hg/feature/light_cycle
kaetemi 10 years ago
parent 91ad193104
commit 70ace8b7d4

@ -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
} }

Loading…
Cancel
Save