From 58d6ae6c49d7c10239bcc89ae0628b3cdefdd63f Mon Sep 17 00:00:00 2001 From: "Committo,Ergo:sum" <esj@rezo.net> Date: Mon, 30 Oct 2006 13:29:11 +0000 Subject: [PATCH] =?UTF-8?q?Pas=20de=20verif=20de=20plugins=20si=20ecrire/i?= =?UTF-8?q?ndex.php=20ex=C3=A9cut=C3=A9=20en=20dehors=20d'ecrire/?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecrire/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ecrire/index.php b/ecrire/index.php index 1fd5f45fe6..0073f6d857 100644 --- a/ecrire/index.php +++ b/ecrire/index.php @@ -161,7 +161,7 @@ define('_TRANCHES', 10); // // Gestion d'une page normale de l'espace prive // - +spip_log("index " . _DIR_RESTREINT); // Controle de la version, sauf si on est deja en train de s'en occuper if (!isset($reinstall) AND (!isset($var_ajaxcharset)) @@ -177,6 +177,7 @@ AND isset($GLOBALS['meta']["debut_restauration"])) // (ne pas interrompre une restauration ou un upgrade) elseif ($exec!='upgrade' AND $GLOBALS['auteur_session']['statut']=='0minirezo' +AND !_DIR_RESTREINT AND lire_fichier(_DIR_TMP.'verifier_plugins.txt',$l) AND $l = @unserialize($l)) { foreach ($l as $fichier) { -- GitLab