diff --git a/ecrire/inc_spip_action_test_dirs.php b/ecrire/inc_spip_action_test_dirs.php index e6798fdfd22fd3c0ed0b6d1d76a4b67846c055aa..78e6a6b9e0f02d7d22c564210ae391469db134f4 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 f3b4c2dd738c00d60122f93815c96407837969c6..00670f1f6f50d4035ee1c43ef8d40d3ba799c101 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); ?>