From b9a8066b7fccc4d5f2c05f4b99cad1275394d13d Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 5 Jun 2012 13:23:41 +0000 Subject: no mails in aslive mode --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it.class') diff --git a/it.class b/it.class index 487508d..f1bf63d 100644 --- a/it.class +++ b/it.class @@ -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()) -- cgit v1.2.3