diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2003-09-29 14:36:48 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2003-09-29 14:36:48 +0000 |
commit | 9a0573a8e1c3427ac9e1a607fde3dc15f8f9d3a1 (patch) | |
tree | 59274f9c3eeb540cdfef1ad2360790b9d6f696ea /includes/common.inc | |
parent | 57c60ddbe2e9107f10c873a8bf9b9f6de979194a (diff) | |
download | brdo-9a0573a8e1c3427ac9e1a607fde3dc15f8f9d3a1.tar.gz brdo-9a0573a8e1c3427ac9e1a607fde3dc15f8f9d3a1.tar.bz2 |
- Rolling back debug_backtrace(). Handy to have, but PHP 4.3 required.
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/includes/common.inc b/includes/common.inc index 9a55b0847..e26929300 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -31,10 +31,7 @@ function error_handler($errno, $message, $filename, $line, $variables) { if ($errno & E_ALL ^ E_NOTICE) { watchdog("error", $types[$errno] .": $message in $filename on line $line."); - foreach (debug_backtrace() as $trace) { - $functions[] = "$trace[function] ($trace[file]:$trace[line])" . $trace["args"][0]; - } - print "<pre>$entry\n". implode(" -> ", $functions) ."</pre>"; + print "<pre>$entry</pre>"; } } |