diff options
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -386,7 +386,7 @@ static function is_devel() */ static function servertype($pattern) { - return it::match($pattern, $GLOBALS['ULTRASERVERTYPE'] ?: 'live'); + return it::match($pattern, $GLOBALS['debug_aslive'] ? 'live' : ($GLOBALS['debug_asdevel'] ? 'devel' : ($GLOBALS['ULTRASERVERTYPE'] ?: 'live'))); } |