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);