Browse files

BUGFIX Check for existance of IIS rewrite module as a value that exis…

…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...
1 parent dd015ff commit bf5e862c6aaa12acc279f622499dd3cb8b54779a sminnee committed Oct 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 install.php
View
2 install.php
@@ -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);

0 comments on commit bf5e862

Please sign in to comment.