From f7d70502827192e1df33a64c0e2eb5aca39e4dcb Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Fri, 6 Jan 2023 15:52:26 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'api-rest/index.php?= =?UTF-8?q?'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api-rest/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api-rest/index.php b/api-rest/index.php index 0f4611d..eeecd76 100644 --- a/api-rest/index.php +++ b/api-rest/index.php @@ -23,6 +23,8 @@ $username = getenv("MYSQL_USER_TOM"); $password = getenv("MYSQL_PASSWORD_TOM"); + echo $dsn; + // Initializing Database try{ $database = new DatabaseConnection($dsn,$username,$password); @@ -32,7 +34,6 @@ http_response_code(600); // Quel code pour les erreurs PDO? } - echo $database; // Initializing Gateways