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

This commit is contained in:
vAugagneur
2012-02-29 08:13:09 +00:00
parent e462d968f0
commit 320e44d464
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);
}
}
/**