ENHANCEMENT Added variable for the server configuration file so the config-form can display it for the installation

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@105028 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
sharvey 2010-05-17 09:52:10 +00:00 committed by Sam Minnee
parent 55c9f8e42a
commit b47f1cd593

View File

@ -158,6 +158,13 @@ if(file_exists('sapphire/silverstripe_version')) {
$req = new InstallRequirements();
$req->check();
$webserverConfigFile = '';
if($req->isIIS()) {
$webserverConfigFile = 'web.config';
} else {
$webserverConfigFile = '.htaccess';
}
if($req->hasErrors()) {
$hasErrorOtherThanDatabase = true;
}