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 (from r105028)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112390 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
19050a38dc
commit
b0d11f1693
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user