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:
sharvey 2010-03-08 20:59:10 +00:00 committed by Sam Minnee
parent 9589478330
commit c783f7e62a

View File

@ -692,7 +692,7 @@ class InstallRequirements {
$this->testing($testDetails);
if(function_exists('apache_get_modules') || stristr(@$_SERVER['SERVER_SIGNATURE'], 'Apache')) {
return true;
} elseif(strpos($_SERVER['SERVER_SOFTWARE'], 'IIS') !== false) {
} elseif(strpos($_SERVER['SERVER_SOFTWARE'], 'IIS/7') !== false) {
return true;
} else {
$this->warning($testDetails);