summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2007-02-14 16:29:33 +0000
committerUrban Müller2007-02-14 16:29:33 +0000
commit644d2ce2a0908d7af4229bfed49a09af8b38d976 (patch)
tree6e25ccaf4a70abc8fa100daf1ae05945745aea47
parenta0596f05996540106895436cac38ac074db39364 (diff)
downloaditools-644d2ce2a0908d7af4229bfed49a09af8b38d976.tar.gz
itools-644d2ce2a0908d7af4229bfed49a09af8b38d976.tar.bz2
itools-644d2ce2a0908d7af4229bfed49a09af8b38d976.zip
dont remove top stack level; seems NOT to be it::error
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
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']))
{