From 9cf8b5a53867f95bc2e40ebb389321f7744be42b Mon Sep 17 00:00:00 2001 From: rGaillard Date: Thu, 13 Sep 2012 19:17:00 +0000 Subject: [PATCH] // Small fix git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17366 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Tools.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Tools.php b/classes/Tools.php index cfad3fbb5..b768f9627 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -2183,7 +2183,7 @@ FileETag INode MTime Size public static function modRewriteActive() { - if (!Tools::apacheModExists('mod_rewrite')) + if (Tools::apacheModExists('mod_rewrite')) return true; if ((isset($_SERVER['HTTP_MOD_REWRITE']) && strtolower($_SERVER['HTTP_MOD_REWRITE']) == 'on') || strtolower(getenv('HTTP_MOD_REWRITE')) == 'on') return true;