Fixed merge error

This commit is contained in:
Ingo Schommer 2013-11-06 09:46:30 +01:00
parent 91f6039eed
commit 9d550f8938

View File

@ -1029,8 +1029,8 @@ class Director implements TemplateGlobalProvider {
return false; return false;
} }
if(self::$environment_type) { if(Config::inst()->get('Director', 'environment_type')) {
return self::$environment_type == 'test'; return Config::inst()->get('Director', 'environment_type') == 'test';
} }
// Check if we are running on one of the test servers // Check if we are running on one of the test servers