[*] BO : now you can't activate friendly URL when mod_rewrite is not active

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13713 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-02-29 08:13:09 +00:00
parent 7a6a998aab
commit bae15bcbcc
6 changed files with 66 additions and 7 deletions
+5
View File
@@ -2221,6 +2221,11 @@ FileETag INode MTime Size
for ($len; $len > 0; $len--)
$str .= '.0';
}
public static function modRewriteActive()
{
return (in_array('mod_rewrite', apache_get_modules()) ? true : false);
}
}
/**