From 5fcc842ed069c9b5cdd908d2dd51e3a558392180 Mon Sep 17 00:00:00 2001 From: nathan boileau Date: Fri, 25 Nov 2022 18:00:12 +0100 Subject: [PATCH] test --- WEB/Config/Config.php | 4 +++- WEB/index.php | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/WEB/Config/Config.php b/WEB/Config/Config.php index 3fbd14dd..f3e1c239 100644 --- a/WEB/Config/Config.php +++ b/WEB/Config/Config.php @@ -14,10 +14,12 @@ $rep = __DIR__ . '/../'; // $password = 'p'; // SQULITE3 -$dsn = 'sqlite3:' . $rep . 'Model/scripted.db'; +$dsn = 'sqlite3:' . 'https://sancy.iut.uca.fr/~lafourcade/Scripted/WEB/Model/scripted.db'; $user = null; $password = null; + + //Sel de hashage $sel = "JeSuisUnSeldeHashageEtJeSuisUniqueEtTresSecuriseEtJeSuisTresLong"; diff --git a/WEB/index.php b/WEB/index.php index 1b8647e6..6788f56c 100644 --- a/WEB/index.php +++ b/WEB/index.php @@ -3,8 +3,11 @@ require_once('./Config/Config.php'); require_once('./Config/Autoload.php'); Autoload::charger(); +echo "test"; + $control = new FrontController(); + //session_regenerate_id(true); // session_unset(); // session_destroy();