From e0924e180a6dc3c18dae44155d2ff53d0754fa08 Mon Sep 17 00:00:00 2001
From: "Committo,Ergo:sum" <esj@rezo.net>
Date: Thu, 19 Jan 2006 22:12:28 +0000
Subject: [PATCH] une transformation ratee et des spip_log verbeux dans le
 commit precedent

---
 ecrire/inc_spip_action_test_dirs.php | 11 +++++++----
 spip_action.php                      |  3 ---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/ecrire/inc_spip_action_test_dirs.php b/ecrire/inc_spip_action_test_dirs.php
index e6798fdfd2..78e6a6b9e0 100644
--- a/ecrire/inc_spip_action_test_dirs.php
+++ b/ecrire/inc_spip_action_test_dirs.php
@@ -94,15 +94,18 @@ if ($bad_dirs OR $absent_dirs) {
 	}
 
 	$res = "<p>" . $continuer  . $res . aide ("install0") . "</p>" .
-	  "<form action='" . generer_url_action('test_dirs', (!$test_dir ? "" : "test_dir=$test_dir")) .
-	  "<div align='right'><input type='submit' class='fondl' value='". 
-	  _T('login_recharger')."' /></div>" .
+	  "<form action='" . generer_url_public('spip_action.php') . "'>" .
+	   "<input type='hidden' name='action' value='test_dirs' />" .
+	  (!$test_dir ? "" : 
+	   "<input type='hidden' name='test_dir' value='$test_dir' />") .
+	  "<DIV align='right'><input type='submit' class='fondl' value='". 
+	  _T('login_recharger')."'></DIV>" .
 	  "</form>";
 	install_debut_html($titre);echo $res;	install_fin_html();
 
  } else {
 	if (!_FILE_CONNECT)
-		header("Location: " . generer_url_ecrire("install",  "etape=1", true));
+	  header("Location: " . generer_url_ecrire("install",  "etape=1", true));
 	else
 		header("Location: " . _DIR_RESTREINT_ABS);
  }
diff --git a/spip_action.php b/spip_action.php
index f3b4c2dd73..00670f1f6f 100644
--- a/spip_action.php
+++ b/spip_action.php
@@ -11,10 +11,7 @@
 \***************************************************************************/
 
 include ("ecrire/inc_version.php3");
-spip_log(join(',', $_REQUEST));
-spip_log("$action $arg $id_auteur $redirect");
 $var_f = include_fonction('spip_action_' . $action);
 $var_f();
-spip_log("$action $arg $id_auteur $redirect");
 if ($redirect) redirige_par_entete($redirect);
 ?>
-- 
GitLab