From d45dfbcd50eadc3d34fd0cc91d03ca1a6f32c52c Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Mon, 9 Jan 2023 20:34:42 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-rest/index.php b/api-rest/index.php index 3b09d74..ea8ae35 100644 --- a/api-rest/index.php +++ b/api-rest/index.php @@ -20,7 +20,7 @@ // ------ //$ini_array= parse_ini_file("config.ini"); - $dsn = "mysql: host=https://codefirst.iut.uca.fr/containers/BOB_PARTEAM-mysql;dbname=". getenv("MYSQL_DATABASE"); + $dsn = "mysql: host="getenv("DB_SERVER").";dbname=". getenv("MYSQL_DATABASE"); $username = getenv("MYSQL_USER_TOM"); $password = getenv("MYSQL_PASSWORD_TOM");