Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ENHANCEMENT Added variable for the server configuration file so the c…

…onfig-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
  • Loading branch information...
commit b0d11f1693357b347900979ceb69df4e8c165aac 1 parent 19050a3
sminnee authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 install.php
View
7 install.php
@@ -158,6 +158,13 @@
$req = new InstallRequirements();
$req->check();
+$webserverConfigFile = '';
+if($req->isIIS()) {
+ $webserverConfigFile = 'web.config';
+} else {
+ $webserverConfigFile = '.htaccess';
+}
+
if($req->hasErrors()) {
$hasErrorOtherThanDatabase = true;
}
Please sign in to comment.
Something went wrong with that request. Please try again.