Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
#260 detect compatibility for apache_get_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahellison committed Apr 27, 2016
1 parent 969b006 commit 12e34af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function getCommentText(Mage_Core_Model_Config_Element $element, $current

$replace_cleanup = array(':80', ':443');

if (in_array('mod_rewrite', apache_get_modules())) {
if (function_exists('apache_get_modules') && in_array('mod_rewrite', apache_get_modules())) {
$replace_cleanup[] = 'index.php/';
}

Expand Down

0 comments on commit 12e34af

Please sign in to comment.