From c17e84f438be473ff6d13a1f6ddef1dd876cb2f2 Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Thu, 4 Oct 2012 15:30:57 +0000 Subject: do not use debug parameter verbose (used to impelement -v which should not trigger full dump) --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it.class b/it.class index 739653b..0472b65 100644 --- a/it.class +++ b/it.class @@ -228,7 +228,7 @@ static function error($p = array(), $body = null, $to = null) # $body and $to de else if ($_SERVER['REMOTE_ADDR']) # toscreen mode: web echo "
" . htmlspecialchars($p['title'] . "\n" . rtrim($body), ENT_COMPAT, "iso-8859-1") . "
"; # works with iso-8859-1 or utf-8, UTF8SAFE else # toscreen mode: shell (outputs to stderr) - error_log(substr($p['title'], 0, 100000) . " in " . ($trace ? $trace : "{$p['file']}:{$p['line']} Url: $url") . " " . (EDC('verbose') ? D($p['locals']) : "")); + error_log(substr($p['title'], 0, 100000) . " in " . ($trace ? $trace : "{$p['file']}:{$p['line']} Url: $url") . " " . (EDC('verboseerrors') ? D($p['locals']) : "")); } if ($_SERVER['REMOTE_ADDR']) # additional entry in log/error_log -- cgit v1.2.3