From 9a0573a8e1c3427ac9e1a607fde3dc15f8f9d3a1 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Mon, 29 Sep 2003 14:36:48 +0000 Subject: - Rolling back debug_backtrace(). Handy to have, but PHP 4.3 required. --- includes/common.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'includes/common.inc') 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 "
$entry\n". implode(" -> ", $functions) ."
"; + print "
$entry
"; } } -- cgit v1.2.3