mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fixed merge error
This commit is contained in:
parent
91f6039eed
commit
9d550f8938
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user