diff options
-rw-r--r-- | it.class | 2 | ||||
-rw-r--r-- | it_debug.class | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -211,7 +211,7 @@ function error($p = array(), $body = null, $to = null) # $body and $to deprecate echo "<pre>{$p['title']}\n$body</pre>"; } - error_log("it::error: " . $p['title'] . " in " . ($trace ? $trace : $p['line']) . " Url: $url " . (EDC('verbose') ? D($p['locals']) : "")); + error_log("it::error: " . $p['title'] . " in " . ($trace ? $trace : "{$p['file']}:{$p['line']}") . " Url: $url " . (EDC('verbose') ? D($p['locals']) : "")); } diff --git a/it_debug.class b/it_debug.class index e2a8925..79433db 100644 --- a/it_debug.class +++ b/it_debug.class @@ -143,8 +143,6 @@ function backtrace($skip = 0) $result[] = basename($call['file']) . ":" . $call['line']; } } - else - $result[] = "*stack dump too large*"; return join(" ", $result); } |