From b35a4c141ee99dfacf030068c40e9107d649ecd1 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 8 May 2007 13:54:30 +0000 Subject: added short trace --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it.class') diff --git a/it.class b/it.class index 0866102..4e2ce97 100644 --- a/it.class +++ b/it.class @@ -108,7 +108,7 @@ function error($p = array(), $body = "", $to = "") if (!$title) $title="Error in $url"; - $body .= "\nUrl: $url\n\n\$_REQUEST: ".print_r($_REQUEST, true). "\nStack:\n" . print_r(debug_backtrace(), true) . "\n\$_SERVER: " . print_r($_SERVER, true); + $body .= "\nUrl: $url\n\n\$_REQUEST: ".print_r($_REQUEST, true). "\nTrace: " . it_debug::backtrace() . "\nStack:\n" . print_r(debug_backtrace(), true) . "\n\$_SERVER: " . print_r($_SERVER, true); if (!ereg('live', $GLOBALS['ULTRASERVERTYPE'])) { -- cgit v1.2.3