summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
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']))
{