diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -297,7 +297,7 @@ static function error($p = array(), $extra = null) } $type = ($p['fatal'] ? (it::is_live() ? "FATAL: " : "Fatal: ") : "Error: "); - $debugparams = it::match('(?:^|\.)([^-.]+)', $_SERVER['HTTP_HOST'], ['all' => true]); + $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); |