// Fix PSCFV-3943
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17315 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
ed3ef17b00
commit
c43b7d7818
1 file changed
+4
-1
+4
-1
@@ -2181,7 +2181,10 @@ FileETag INode MTime Size
|
|||||||
|
|
||||||
public static function modRewriteActive()
|
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)
|
public static function unSerialize($serialized, $object = false)
|
||||||
|
|||||||
Reference in new issue
Block a user