summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorNathan Gass2012-10-04 15:30:57 +0000
committerNathan Gass2012-10-04 15:30:57 +0000
commitc17e84f438be473ff6d13a1f6ddef1dd876cb2f2 (patch)
treeeafa94eac353592b5899d427e351e36d4cbecbf6 /it.class
parent69185319fc4ca19675e9dff5ad0015f68ccf51c6 (diff)
downloaditools-c17e84f438be473ff6d13a1f6ddef1dd876cb2f2.tar.gz
itools-c17e84f438be473ff6d13a1f6ddef1dd876cb2f2.tar.bz2
itools-c17e84f438be473ff6d13a1f6ddef1dd876cb2f2.zip
do not use debug parameter verbose (used to impelement -v which should not trigger full dump)
Diffstat (limited to 'it.class')
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
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 "<pre>" . htmlspecialchars($p['title'] . "\n" . rtrim($body), ENT_COMPAT, "iso-8859-1") . "</pre>"; # 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