From b13c561c51ef6b31b8f7265d5b05736bb3325f72 Mon Sep 17 00:00:00 2001 From: sharvey Date: Sun, 19 Dec 2010 22:18:05 +0000 Subject: [PATCH] BUGFIX Fixed conflicting check of mysite directory with recommendation of removal of _config.php in installer (from r115169) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@115170 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index 55efe99..10dc621 100644 --- a/install.php +++ b/install.php @@ -589,7 +589,7 @@ class InstallRequirements { if(!file_exists($path)) { $testDetails[2] .= " Directory '$path' not found. Please make sure you have uploaded the SilverStripe files to your webserver correctly."; $this->error($testDetails); - } elseif(!file_exists($path . '/_config.php')) { + } elseif(!file_exists($path . '/_config.php') && $dirname != 'mysite') { $testDetails[2] .= " Directory '$path' exists, but is missing files. Please make sure you have uploaded the SilverStripe files to your webserver correctly."; $this->error($testDetails); }