mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
MINOR Fixed place where IIS was used instead of checking for 7
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@100635 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9589478330
commit
c783f7e62a
@ -692,7 +692,7 @@ class InstallRequirements {
|
|||||||
$this->testing($testDetails);
|
$this->testing($testDetails);
|
||||||
if(function_exists('apache_get_modules') || stristr(@$_SERVER['SERVER_SIGNATURE'], 'Apache')) {
|
if(function_exists('apache_get_modules') || stristr(@$_SERVER['SERVER_SIGNATURE'], 'Apache')) {
|
||||||
return true;
|
return true;
|
||||||
} elseif(strpos($_SERVER['SERVER_SOFTWARE'], 'IIS') !== false) {
|
} elseif(strpos($_SERVER['SERVER_SOFTWARE'], 'IIS/7') !== false) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
$this->warning($testDetails);
|
$this->warning($testDetails);
|
||||||
|
Loading…
Reference in New Issue
Block a user