MINOR Fixed place where IIS was used instead of checking for 7 (from r100635)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112193 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
sminnee 2010-10-13 04:23:39 +00:00
parent 322be54599
commit 15d13b6f82

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);