From 2d6ebc22e624b054754cbae4e2e1fdaa24acca07 Mon Sep 17 00:00:00 2001 From: Vincent ASTOLFI Date: Wed, 30 Nov 2022 14:36:58 +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 4628f62..6fc3766 100644 --- a/Sources/API/config/Config.php +++ b/Sources/API/config/Config.php @@ -2,7 +2,7 @@ //prefixe $rep=__DIR__.'/../'; -$dsn='mysql:host=10.9.0.8;dbname='.getenv("MARIADB_DATABASE"); +$dsn=getenv("DB_SERVER"); $dbname=getenv("MARIADB_DATABASE"); $usr=getenv("MARIADB_USER"); $mdp=getenv("MARIADB_PASSWORD");