mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
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:
parent
55c9f8e42a
commit
b47f1cd593
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user