diff options
author | Urban Müller | 2007-05-08 13:54:30 +0000 |
---|---|---|
committer | Urban Müller | 2007-05-08 13:54:30 +0000 |
commit | b35a4c141ee99dfacf030068c40e9107d649ecd1 (patch) | |
tree | d5a3a5e5ef4e7e92cc69254fcf1931998ad098d2 /it.class | |
parent | e9c2d84a068443e4c4cff0ac5ac4ba098eff44f3 (diff) | |
download | itools-b35a4c141ee99dfacf030068c40e9107d649ecd1.tar.gz itools-b35a4c141ee99dfacf030068c40e9107d649ecd1.tar.bz2 itools-b35a4c141ee99dfacf030068c40e9107d649ecd1.zip |
added short trace
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'])) { |