mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
BUGFIX Installer bug where apache_get_modules() doesn't exist (installing from IIS) (from r101357)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@112221 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
bdb865ea27
commit
432413132a
@ -594,7 +594,7 @@ class InstallRequirements {
|
||||
}
|
||||
|
||||
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;
|
||||
} else {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user