summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2007-05-08 13:54:30 +0000
committerUrban Müller2007-05-08 13:54:30 +0000
commitb35a4c141ee99dfacf030068c40e9107d649ecd1 (patch)
treed5a3a5e5ef4e7e92cc69254fcf1931998ad098d2 /it.class
parente9c2d84a068443e4c4cff0ac5ac4ba098eff44f3 (diff)
downloaditools-b35a4c141ee99dfacf030068c40e9107d649ecd1.tar.gz
itools-b35a4c141ee99dfacf030068c40e9107d649ecd1.tar.bz2
itools-b35a4c141ee99dfacf030068c40e9107d649ecd1.zip
added short trace
Diffstat (limited to 'it.class')
-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']))
{