mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
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:
parent
dd015ff76a
commit
bf5e862c6a
@ -532,7 +532,7 @@ class InstallRequirements {
|
|||||||
|
|
||||||
function requireIISRewriteModule($moduleName, $testDetails) {
|
function requireIISRewriteModule($moduleName, $testDetails) {
|
||||||
$this->testing($testDetails);
|
$this->testing($testDetails);
|
||||||
if(isset($_SERVER[$moduleName]) && $_SERVER[$moduleName] == 1) {
|
if(isset($_SERVER[$moduleName]) && $_SERVER[$moduleName]) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
$this->error($testDetails);
|
$this->error($testDetails);
|
||||||
|
Loading…
Reference in New Issue
Block a user