mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-06-29 07:59:31 +02:00
BUGFIX Check for existance of IIS rewrite module as a value that exists instead of being "1"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98031 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
17764cf273
commit
a3e887a59e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user