summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2006-12-23 02:02:09 +0000
committerUrban Müller2006-12-23 02:02:09 +0000
commit33a8aa16c8720928d09c0b1958fee155e62cf407 (patch)
tree64cda314c33bff683dc3e0877b7a2375f57ed55b
parentc7e3cb1fe811ccd08be430a1d7ebfe700fe6627c (diff)
downloaditools-33a8aa16c8720928d09c0b1958fee155e62cf407.tar.gz
itools-33a8aa16c8720928d09c0b1958fee155e62cf407.tar.bz2
itools-33a8aa16c8720928d09c0b1958fee155e62cf407.zip
log $_SERVER on it::error
-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>";