From 5731b70aa255e9cf28ed2dc5e0da24e1d2246ed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Mon, 5 Dec 2022 10:42:21 +0100 Subject: [PATCH] =?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/index.php | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/WEB/Config/Config.php b/WEB/Config/Config.php index 4ad83d8a..9853af16 100644 --- a/WEB/Config/Config.php +++ b/WEB/Config/Config.php @@ -14,7 +14,7 @@ $rep = __DIR__ . '/../'; // $password = 'p'; // SQULITE3 -$dsn = './../Model/scripted.db'; +$dsn = './Model/scripted.db'; //Sel de hashage $sel = "JeSuisUnSeldeHashageEtJeSuisUniqueEtTresSecuriseEtJeSuisTresLong"; diff --git a/WEB/index.php b/WEB/index.php index 432e7589..54c2996e 100644 --- a/WEB/index.php +++ b/WEB/index.php @@ -17,18 +17,6 @@ Autoload::charger(); // echo $row['email'] . " " . $row['password'] . " " . $row['pseudo'] . " " . $row['admin'] . " "; // } -echo "test"; -try{ - echo $test; - - var_dump($dsn); -$db = new Connection($dsn); - var_dump($db); - -} -catch (Exception $e){ echo $e->getMessage();} -catch (Error $e2){ echo $e2->getMessage();} -echo "test2"; $control = new FrontController(); //session_regenerate_id(true);