summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
Diffstat (limited to 'it.class')
-rw-r--r--it.class1
1 files changed, 1 insertions, 0 deletions
diff --git a/it.class b/it.class
index 0945ab9..7a13bbd 100644
--- a/it.class
+++ b/it.class
@@ -151,6 +151,7 @@ function error($p = array(), $body = null, $to = null) # $body and $to deprecate
@chmod("/tmp/alertdata", 0777);
$toscreen = ini_get('display_errors') || (defined("STDOUT") && posix_isatty(STDOUT)) || EDC('astwin') || EDC('asdevel');
+
if ($toscreen && !it::is_live())
$GLOBALS['debug_noredir'] = 1;