diff options
author | Urban Müller | 2012-06-05 13:23:41 +0000 |
---|---|---|
committer | Urban Müller | 2012-06-05 13:23:41 +0000 |
commit | b9a8066b7fccc4d5f2c05f4b99cad1275394d13d (patch) | |
tree | 3dead983141721151745fad2dfaa5ad19a99089b | |
parent | 694a54d2f75661546a098f3c939501748ab22c31 (diff) | |
download | itools-b9a8066b7fccc4d5f2c05f4b99cad1275394d13d.tar.gz itools-b9a8066b7fccc4d5f2c05f4b99cad1275394d13d.tar.bz2 itools-b9a8066b7fccc4d5f2c05f4b99cad1275394d13d.zip |
no mails in aslive mode
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,7 +155,7 @@ static function error($p = array(), $body = null, $to = null) # $body and $to de @mkdir("/tmp/alertdata"); @chmod("/tmp/alertdata", 0777); - $toscreen = !EDC('aslive') && (ini_get('display_errors') || (defined("STDOUT") && posix_isatty(STDOUT)) || EDC('astwin') || EDC('asdevel')); + $toscreen = ini_get('display_errors') || (defined("STDOUT") && posix_isatty(STDOUT)) || EDC('astwin') || EDC('asdevel'); @fseek(STDOUT, 0, SEEK_END); # Work around PHP bug 49819: posix_isatty seeks to start if ($toscreen && !it::is_live()) |