Skip to content

Commit

Permalink
BUGFIX Check for existance of IIS rewrite module as a value that exis…
Browse files Browse the repository at this point in the history
…ts instead of being "1" (from r98031)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112092 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
sminnee committed Oct 13, 2010
1 parent dd015ff commit bf5e862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.php
Expand Up @@ -532,7 +532,7 @@ function requireApacheModule($moduleName, $testDetails) {

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

0 comments on commit bf5e862

Please sign in to comment.