From 6898574937f6b50ffdb1dae42683845d644aebd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Sat, 26 Nov 2022 15:29:56 +0100 Subject: [PATCH] Test bd --- WEB/Config/Config.php | 6 +----- WEB/index.php | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/WEB/Config/Config.php b/WEB/Config/Config.php index f3d0caa3..e0c6b63b 100644 --- a/WEB/Config/Config.php +++ b/WEB/Config/Config.php @@ -14,11 +14,7 @@ $rep = __DIR__ . '/../'; // $password = 'p'; // SQULITE3 -$dsn = 'sqlite:./Model/scripted.db'; -// $user = null; -// $password = null; - - +$dsn = './Model/scripted.db'; //Sel de hashage $sel = "JeSuisUnSeldeHashageEtJeSuisUniqueEtTresSecuriseEtJeSuisTresLong"; diff --git a/WEB/index.php b/WEB/index.php index 0d87319e..a9704cb1 100644 --- a/WEB/index.php +++ b/WEB/index.php @@ -17,6 +17,7 @@ Autoload::charger(); // echo $row['email'] . " " . $row['password'] . " " . $row['pseudo'] . " " . $row['admin'] . " "; // } +echo "test"; $control = new FrontController();