From 2233808a9ce8f06907325d6911ce64e0384eaad5 Mon Sep 17 00:00:00 2001 From: Vincent ASTOLFI Date: Wed, 30 Nov 2022 15:44:33 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Sources/API/config?= =?UTF-8?q?/Config.php'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/API/config/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/API/config/Config.php b/Sources/API/config/Config.php index 7b29cdc..d89ee28 100644 --- a/Sources/API/config/Config.php +++ b/Sources/API/config/Config.php @@ -2,7 +2,7 @@ //prefixe $rep=__DIR__.'/../'; -$dsn=getenv("DB_SERVER"); +$dsn='mysql:host='.getenv("DB_SERVER").';dbname='.getenv("MARIADB_DATABASE"); $dbname=getenv("MARIADB_DATABASE"); $usr=getenv("MARIADB_USER"); $mdp=getenv("MARIADB_PASSWORD");