From d04a4c2d7477265fcf4f654cfe59d6850d62f664 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Mon, 5 Mar 2012 13:27:54 +0000 Subject: [PATCH] [-] BO : fixed bug #PSFV-616 - SVN #13826 rewriting fatal error git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13836 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 15816a881..a55ac4083 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -2224,7 +2224,7 @@ FileETag INode MTime Size public static function modRewriteActive() { - return (in_array('mod_rewrite', apache_get_modules()) ? true : false); + return Tools::apacheModExists('mod_rewrite'); } }