From 644d2ce2a0908d7af4229bfed49a09af8b38d976 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 14 Feb 2007 16:29:33 +0000 Subject: dont remove top stack level; seems NOT to be it::error --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it.class b/it.class index 02b764a..2bddcd2 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(array_slice(debug_backtrace(), 1), true) . "\n\$_SERVER: " . print_r($_SERVER, true); + $body .= "\nUrl: $url\n\n\$_REQUEST: ".print_r($_REQUEST, true). "\nStack:\n" . print_r(debug_backtrace(), true) . "\n\$_SERVER: " . print_r($_SERVER, true); if (!ereg('live', $GLOBALS['ULTRASERVERTYPE'])) { -- cgit v1.2.3