From bf5e862c6aaa12acc279f622499dd3cb8b54779a Mon Sep 17 00:00:00 2001 From: sminnee Date: Wed, 13 Oct 2010 02:33:27 +0000 Subject: [PATCH] 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 --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index aea36da..b39fda5 100644 --- a/install.php +++ b/install.php @@ -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);