From f3df37a6925b7a23fbfc39ec2d2ecc97b908326b Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Mon, 9 Jan 2023 20:29:19 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-rest/index.php b/api-rest/index.php index 2df4aa3..1217d8c 100644 --- a/api-rest/index.php +++ b/api-rest/index.php @@ -21,8 +21,8 @@ //$ini_array= parse_ini_file("config.ini"); $dsn = "mysql:host=".getenv("DB_SERVER").";port=3036;dbname=". getenv("MYSQL_DATABASE"); - $username = "root"; - $password = getenv("MYSQL_ROOT_PASSWORD"); + $username = getenv("MYSQL_USER_TOM"); + $password = getenv("MYSQL_PASSWORD_TOM"); echo "Chemin: " . $dsn . " " . "Username: " . $username . " " . "Password: " . $password . " ";