From 5136c23a0be8e1d618af7a1baa4dc63bd8db1bd9 Mon Sep 17 00:00:00 2001 From: Dorian HODIN Date: Mon, 28 Nov 2022 11:54:07 +0100 Subject: [PATCH] config.php update --- Sources/php_script/script/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/php_script/script/config.php b/Sources/php_script/script/config.php index e8b3dba..2a772d1 100644 --- a/Sources/php_script/script/config.php +++ b/Sources/php_script/script/config.php @@ -5,8 +5,8 @@ function connection(): bool|int|mysqli $username = "root"; //Get the username $host = "193.49.118.214"; //Get the url of the database - $password = $_ENV["db_root_password"]; //Get the password for the user selected - $db_name = $_ENV["db_database"]; //Get the name of the database + $password = $_ENV["MARIADB_ROOT_PASSWORD"]; //Get the password for the user selected + $db_name = $_ENV["MARIADB_DATABASE"]; //Get the name of the database try { //Try to connect to the database