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 4f561c6..5757b4f 100644
--- a/it.class
+++ b/it.class
@@ -90,7 +90,7 @@ function error($p=array(), $body='', $to='')
if (!$title)
$title="Error in $url";
- $body .= "\nUrl: $url\n\nReferer: $referer\n\n\$_REQUEST: ".print_r($_REQUEST, true). "\nStack:\n" . print_r(array_slice(debug_backtrace(), 1), true);
+ $body .= "\nUrl: $url\n\nReferer: $referer\n\n\$_REQUEST: ".print_r($_REQUEST, true). "\nStack:\n" . print_r(array_slice(debug_backtrace(), 1), true) . "\n\$_SERVER: " . print_r($_SERVER, true);
if (ereg('twin|devel', $GLOBALS['ULTRASERVERTYPE'])) {
echo "<pre>$title\n$body\n</pre>";