BUGFIX Check for existance of IIS rewrite module as a value that exists instead of being "1" (from r98031)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112092 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
sminnee 2010-10-13 02:33:27 +00:00
parent dd015ff76a
commit bf5e862c6a

View File

@ -532,7 +532,7 @@ class InstallRequirements {
function requireIISRewriteModule($moduleName, $testDetails) {
$this->testing($testDetails);
if(isset($_SERVER[$moduleName]) && $_SERVER[$moduleName] == 1) {
if(isset($_SERVER[$moduleName]) && $_SERVER[$moduleName]) {
return true;
} else {
$this->error($testDetails);