Permalink
Browse files

BUGFIX Fixed conflicting check of mysite directory with recommendatio…

…n 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
  • Loading branch information...
sharvey
sharvey committed Dec 19, 2010
1 parent 88aea2f commit b13c561c51ef6b31b8f7265d5b05736bb3325f72
Showing with 1 addition and 1 deletion.
  1. +1 −1 install.php
View
@@ -589,7 +589,7 @@ function requireModule($dirname, $testDetails) {
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);
}

0 comments on commit b13c561

Please sign in to comment.