From dbe5bba3d333abffc6f974963e0519ed0baa05e5 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Sat, 26 Apr 2008 06:55:11 +0000 Subject: [PATCH] Merged revisions 53373 via svnmerge from http://svn.silverstripe.com/open/modules/sapphire/branches/2.2.2 ........ r53373 | wrossiter | 2008-04-24 09:57:16 +1200 (Thu, 24 Apr 2008) | 1 line 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/trunk@53530 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/control/Director.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/control/Director.php b/core/control/Director.php index 3b346c868..c4707e282 100644 --- a/core/control/Director.php +++ b/core/control/Director.php @@ -658,11 +658,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; }