From 560129dcf1a22d8b3c75623ab93f7183e290e5c7 Mon Sep 17 00:00:00 2001 From: Noe GARNIER Date: Wed, 23 Nov 2022 12:49:57 +0100 Subject: [PATCH 1/5] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'WEB/Config/Con?= =?UTF-8?q?fig.php'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WEB/Config/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WEB/Config/Config.php b/WEB/Config/Config.php index abebfce2..8b613a6f 100644 --- a/WEB/Config/Config.php +++ b/WEB/Config/Config.php @@ -1,6 +1,6 @@ Date: Wed, 23 Nov 2022 12:53:10 +0100 Subject: [PATCH 2/5] =?UTF-8?q?Test=20de=20d=C3=A9ploiment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WEB/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WEB/index.php b/WEB/index.php index b9c89993..5a10b12d 100644 --- a/WEB/index.php +++ b/WEB/index.php @@ -2,9 +2,10 @@ require_once('./Config/Config.php'); require_once('./Config/Autoload.php'); Autoload::charger(); - +echo "post"; $con = new Connection($dsn, $user, $password); $control = new Controller($con); +echo "after"; session_regenerate_id(true); // session_unset(); From c67f58274bd8fafdc10b02d776f116e001d5d802 Mon Sep 17 00:00:00 2001 From: Noe GARNIER Date: Wed, 23 Nov 2022 12:54:37 +0100 Subject: [PATCH 3/5] =?UTF-8?q?Test=20de=20d=C3=A9ploiment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WEB/Controller/Controller.php | 1 + 1 file changed, 1 insertion(+) diff --git a/WEB/Controller/Controller.php b/WEB/Controller/Controller.php index 39139345..ab1125a6 100644 --- a/WEB/Controller/Controller.php +++ b/WEB/Controller/Controller.php @@ -12,6 +12,7 @@ class Controller $this->con=$con; session_start(); try{ + echo "control"; global $rep, $vues, $error; $action=$_REQUEST['action']; switch($action) { From 720e572baa14aa8f62bb9719537b41b4d470d44b Mon Sep 17 00:00:00 2001 From: Noe GARNIER Date: Wed, 23 Nov 2022 12:56:47 +0100 Subject: [PATCH 4/5] =?UTF-8?q?Test=20de=20d=C3=A9ploiment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WEB/Config/Config.php | 2 +- WEB/Controller/Controller.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/WEB/Config/Config.php b/WEB/Config/Config.php index 8b613a6f..1bd68050 100644 --- a/WEB/Config/Config.php +++ b/WEB/Config/Config.php @@ -1,6 +1,6 @@ con=$con; session_start(); try{ - echo "control"; + echo "controller"; global $rep, $vues, $error; $action=$_REQUEST['action']; switch($action) { From af6bb631c3d3153f4a8b28144ecfc22452c033e0 Mon Sep 17 00:00:00 2001 From: Noe GARNIER Date: Wed, 23 Nov 2022 13:00:44 +0100 Subject: [PATCH 5/5] =?UTF-8?q?Test=20de=20d=C3=A9ploiment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WEB/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/WEB/index.php b/WEB/index.php index 5a10b12d..4101079d 100644 --- a/WEB/index.php +++ b/WEB/index.php @@ -4,6 +4,7 @@ require_once('./Config/Autoload.php'); Autoload::charger(); echo "post"; $con = new Connection($dsn, $user, $password); +echo "con"; $control = new Controller($con); echo "after";