BUGFIX Fixed conflicting check of mysite directory with recommendation of removal of _config.php in installer

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@115169 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
sharvey 2010-12-19 22:07:03 +00:00 committed by Sam Minnee
parent 51514c06d5
commit f84a15de87

View File

@ -575,7 +575,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);
}