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:
Will Rossiter 2008-04-23 21:57:16 +00:00 committed by Sam Minnee
parent b9aaed37f5
commit c063363b23

View File

@ -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;
}