diff --git a/install.php b/install.php index 2e4b4b4..5e5ec00 100644 --- a/install.php +++ b/install.php @@ -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; }