From 980438a322a7a1675d67cbcfb80d654e3ffa7fee Mon Sep 17 00:00:00 2001 From: aoneil Date: Mon, 20 Aug 2007 00:40:56 +0000 Subject: [PATCH] Fix dev check test (merged from 2.0.2 branch, r38232) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@40484 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.php b/install.php index fb451ba..b02c26f 100644 --- a/install.php +++ b/install.php @@ -509,11 +509,11 @@ global \$databaseConfig; ); // If we're running on local host, or a server with 'dev.' in its -// name, set the site to dev mode. You should add test for your +// name, set the site to dev mode. You should add a test for your // development servers here also. if(strpos(Director::baseURL(), "localhost") !== false || strpos(Director::baseURL(), "127.0.0.1") !== false || - strpos(Director::baseURL(), "dev.")) { + strpos(Director::baseURL(), "dev.") !== false) { Director::set_environment_type("dev"); }