@@ 891-894 (lines=4) @@ | ||
888 | $backtrace_args = defined('\DEBUG_BACKTRACE_IGNORE_ARGS') ? \DEBUG_BACKTRACE_IGNORE_ARGS : 0; |
|
889 | $backtrace = debug_backtrace($backtrace_args); |
|
890 | ||
891 | if(count($backtrace) > 1 && $backtrace[1]['function'] === 'debugPrint' && !$backtrace[1]['class']) |
|
892 | { |
|
893 | array_shift($backtrace); |
|
894 | } |
|
895 | foreach($backtrace as $val) |
|
896 | { |
|
897 | $print[] = ' - ' . $val['file'] . ' : ' . $val['line']; |
@@ 137-140 (lines=4) @@ | ||
134 | $print[] = '['.date('Y-m-d H:i:s').'] ' . $errorname . ' : ' . $errormassage; |
|
135 | $backtrace_args = defined('DEBUG_BACKTRACE_IGNORE_ARGS') ? \DEBUG_BACKTRACE_IGNORE_ARGS : 0; |
|
136 | $backtrace = debug_backtrace($backtrace_args); |
|
137 | if(count($backtrace) > 1 && $backtrace[1]['function'] === 'xeErrorLog' && !$backtrace[1]['class']) |
|
138 | { |
|
139 | array_shift($backtrace); |
|
140 | } |
|
141 | ||
142 | foreach($backtrace as $key => $value) |
|
143 | { |