Filters whether Apache and mod_rewrite are present. This filter was previously used to force URL rewriting for other servers, like nginx. Use the {@see 'got_url_rewrite'} filter in got_url_rewrite() instead.
N/A
Sortie :
@param bool $got_rewrite Whether Apache and mod_rewrite are present. @return bool Whether the server supports URL rewriting.
// Utilisation de la fonction got_url_rewrite
$result = got_url_rewrite();
if ($result) {
// Votre logique ici
}
Chargement des actualités...