diff --git a/ecrire/inc/headers.php b/ecrire/inc/headers.php index 15ebd3fffa4d566a125847e173b160e84e076b25..dd6bf5674d9e25bafdef9068d13484b2d313f0b8 100644 --- a/ecrire/inc/headers.php +++ b/ecrire/inc/headers.php @@ -45,7 +45,7 @@ function redirige_par_entete($url, $equiv='', $status = 302) { $url ="./"; // Il n'y a que sous Apache que setcookie puis redirection fonctionne - + include_spip('inc/cookie'); if (!$equiv AND (!spip_cookie_envoye() OR (strncmp("Apache", $_SERVER['SERVER_SOFTWARE'],6)==0) OR defined('_SERVER_APACHE'))) { @header("Location: " . $url); $equiv="";