summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index e968575..7ea6862 100644
--- a/it.class
+++ b/it.class
@@ -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')));
}