From 1863cd78ca2fce3e3400077ecc3fb40965d7bda0 Mon Sep 17 00:00:00 2001 From: Fil <fil@rezo.net> Date: Sun, 25 Jun 2006 13:04:38 +0000 Subject: [PATCH] =?UTF-8?q?corrige=20le=20bug=20sur=20REQUEST=5FURI=20(IIS?= =?UTF-8?q?)=20#367=20=C3=A0=20noter=20que=20c'est=20enti=C3=A8rement=20de?= =?UTF-8?q?=20notre=20faute,=20lors=20du=20passage=20en=20fonction,=20$PHP?= =?UTF-8?q?=5FSELF=20n'a=20pas=20=C3=A9t=C3=A9=20prise=20en=20globale...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecrire/inc/utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecrire/inc/utils.php b/ecrire/inc/utils.php index 40f9a3a8ce..f4a6ec21c1 100644 --- a/ecrire/inc/utils.php +++ b/ecrire/inc/utils.php @@ -993,7 +993,7 @@ function spip_initialisation() { // Compatibilite avec serveurs ne fournissant pas $REQUEST_URI if (!$GLOBALS['REQUEST_URI']) { - $GLOBALS['REQUEST_URI'] = $PHP_SELF; + $GLOBALS['REQUEST_URI'] = $_SERVER['PHP_SELF']; if ($_SERVER['QUERY_STRING'] AND !strpos($_SERVER['REQUEST_URI'], '?')) $GLOBALS['REQUEST_URI'] .= '?'.$_SERVER['QUERY_STRING']; } -- GitLab