mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-09-30 05:09:10 +02:00
BUGFIX Installer bug where apache_get_modules() doesn't exist (installing from IIS)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@101357 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
934fbf9a88
commit
befa638192
@ -594,7 +594,7 @@ class InstallRequirements {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function testApacheRewriteExists($moduleName = 'mod_rewrite') {
|
function testApacheRewriteExists($moduleName = 'mod_rewrite') {
|
||||||
if(in_array($moduleName, apache_get_modules())) {
|
if(function_exists('apache_get_modules') && in_array($moduleName, apache_get_modules())) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user