From 53edeb74852287904609994e007b7eb84356a79a Mon Sep 17 00:00:00 2001 From: renato <renato@rezo.net> Date: Tue, 20 Oct 2009 21:29:22 +0000 Subject: [PATCH] inclure inc/cookie.php avant de appeller spip_cookie_envoye --- ecrire/inc/headers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecrire/inc/headers.php b/ecrire/inc/headers.php index 15ebd3fffa..dd6bf5674d 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=""; -- GitLab