diff --git a/WEB/index.php b/WEB/index.php index bc2bb54f..3c518532 100644 --- a/WEB/index.php +++ b/WEB/index.php @@ -4,7 +4,7 @@ require_once('./Config/Autoload.php'); Autoload::charger(); echo "test1\n"; -$con = new Connection($dsn); +$con = new Connection("sqlite:./scripted.db"); $query = "INSERT INTO Utilisateur VALUES (:email,:pseudo,:mdp,:estAdmin)"; $con->executeQuery($query, array(