diff options
author | Urban Müller | 2021-05-18 15:25:38 +0200 |
---|---|---|
committer | Urban Müller | 2021-05-18 15:25:38 +0200 |
commit | 741c2b05811e7f3bf3b17c9f55957336f791c08c (patch) | |
tree | 596b50cfdad61001122394493cc57412b314d88b | |
parent | 0d83cde16cfb6c280883762f3d8e853e7aa15124 (diff) | |
download | itools-741c2b05811e7f3bf3b17c9f55957336f791c08c.tar.gz itools-741c2b05811e7f3bf3b17c9f55957336f791c08c.tar.bz2 itools-741c2b05811e7f3bf3b17c9f55957336f791c08c.zip |
call more attention to page-killing problems
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -296,7 +296,7 @@ static function error($p = array(), $extra = null) $body = it::replace(array('(pw|passw|password\d*|secret)(\' => |\] => |=)[^&\s]*' => '$1$2********'), $body, array('utf8' => false)); } - $type = ($p['fatal'] ? "Fatal: " : "Error: "); + $type = ($p['fatal'] ? (it::is_live() ? "FATAL: " : "Fatal: ") : "Error: "); $debugparams = it::match('(?:^|\.)([^-.]+)', $_SERVER['HTTP_HOST'], ['all' => true]); if (!it::is_live() || array_diff($debugparams, it::match('[-\w]+', $GLOBALS['ULTRAHOME'], ['all' => true]), ["devel", "twin", gethostname()])) $type = mb_strtolower($type); |