Finishing touch on the setup program... ready for 2.0 beta ??

SVN:trunk[2334]
This commit is contained in:
Denis Flaven
2012-10-24 07:30:43 +00:00
parent 721faa7e1e
commit 3c3c805298
4 changed files with 145 additions and 51 deletions

View File

@@ -426,6 +426,11 @@ class ApplicationInstaller
chmod($sTargetPath, 0755);
}
}
else if (substr($sTargetPath, 0, strlen(APPROOT)) == APPROOT)
{
// If the directory is under the root folder - as expected - let's clean-it before compiling
SetupUtils::tidydir($sTargetPath);
}
$oFactory = new ModelFactory($aDirsToScan);
$aModules = $oFactory->FindModules();