mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Don't mark a test site as being in dev mode if set_test_servers matches
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@53366 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b9aaed37f5
commit
c063363b23
@ -567,11 +567,12 @@ class Director {
|
||||
if(in_array($_SERVER['HTTP_HOST'], Director::$dev_servers)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
/*
|
||||
// Check if we are running on one of the test servers
|
||||
if(in_array($_SERVER['HTTP_HOST'], Director::$test_servers)) {
|
||||
return true;
|
||||
}
|
||||
*/
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user