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
This commit is contained in:
sharvey 2010-12-19 22:18:05 +00:00
parent 88aea2f456
commit b13c561c51

View File

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