From 33a8aa16c8720928d09c0b1958fee155e62cf407 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Sat, 23 Dec 2006 02:02:09 +0000 Subject: log $_SERVER on it::error --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "
$title\n$body\n"; -- cgit v1.2.3