From 279b7205031bf51b96b74a088e7a6fca745ec1cd Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Wed, 21 Sep 2022 20:30:23 +0200 Subject: [PATCH] debug --- gestion/saisieVotes.php | 2 ++ include/fonctions.inc.php | 2 +- session_init.php | 20 +++++++++----------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/gestion/saisieVotes.php b/gestion/saisieVotes.php index e4be3c0..60ef167 100644 --- a/gestion/saisieVotes.php +++ b/gestion/saisieVotes.php @@ -5,6 +5,8 @@ require_once 'db.class.php'; require_once 'entete.php'; require_once 'fonctions.inc.php'; +echo "session ID " . SID; + $path = $_SERVER["PHP_SELF"]; $db = new db(); diff --git a/include/fonctions.inc.php b/include/fonctions.inc.php index 15ab3bc..205ce81 100644 --- a/include/fonctions.inc.php +++ b/include/fonctions.inc.php @@ -125,7 +125,7 @@ function votesForm($path, $libelle = "", $method = 0) foreach ($methods as $value) { $id = $value["id"]; - if ($id == $method) + if ($id == $method)/saisieVotes.php { print('' . EOL); }else diff --git a/session_init.php b/session_init.php index fe12746..9c03299 100644 --- a/session_init.php +++ b/session_init.php @@ -1,15 +1,13 @@