diff options
author | Urban Müller | 2006-12-23 02:02:09 +0000 |
---|---|---|
committer | Urban Müller | 2006-12-23 02:02:09 +0000 |
commit | 33a8aa16c8720928d09c0b1958fee155e62cf407 (patch) | |
tree | 64cda314c33bff683dc3e0877b7a2375f57ed55b | |
parent | c7e3cb1fe811ccd08be430a1d7ebfe700fe6627c (diff) | |
download | itools-33a8aa16c8720928d09c0b1958fee155e62cf407.tar.gz itools-33a8aa16c8720928d09c0b1958fee155e62cf407.tar.bz2 itools-33a8aa16c8720928d09c0b1958fee155e62cf407.zip |
log $_SERVER on it::error
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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>"; |