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

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112390 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
sminnee 2010-10-15 01:14:53 +00:00
parent 19050a38dc
commit b0d11f1693

View File

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