// Small fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17366 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+1
-1
@@ -2183,7 +2183,7 @@ FileETag INode MTime Size
|
|||||||
|
|
||||||
public static function modRewriteActive()
|
public static function modRewriteActive()
|
||||||
{
|
{
|
||||||
if (!Tools::apacheModExists('mod_rewrite'))
|
if (Tools::apacheModExists('mod_rewrite'))
|
||||||
return true;
|
return true;
|
||||||
if ((isset($_SERVER['HTTP_MOD_REWRITE']) && strtolower($_SERVER['HTTP_MOD_REWRITE']) == 'on') || strtolower(getenv('HTTP_MOD_REWRITE')) == 'on')
|
if ((isset($_SERVER['HTTP_MOD_REWRITE']) && strtolower($_SERVER['HTTP_MOD_REWRITE']) == 'on') || strtolower(getenv('HTTP_MOD_REWRITE')) == 'on')
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user