From 3e08e07540ee7e97e01476a35140a7d8326e5ea3 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Wed, 12 Sep 2012 17:42:59 +0000 Subject: [PATCH] // Fix PSCFV-3943 --- classes/Tools.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/classes/Tools.php b/classes/Tools.php index 24f433440..c375080b5 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -2181,7 +2181,10 @@ FileETag INode MTime Size public static function modRewriteActive() { - return Tools::apacheModExists('mod_rewrite'); + if (!Tools::apacheModExists('mod_rewrite')) + if (strtolower($_SERVER['HTTP_MOD_REWRITE']) != 'on' && strtolower(getenv('HTTP_MOD_REWRITE')) != 'on') + return false; + return true; } public static function unSerialize($serialized, $object = false)