mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 04:51:48 +00:00
Print callstack
This commit is contained in:
parent
aee9f17acb
commit
80105b365c
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue