From 5788f68519f374988ea543e5c4ee3e11719fa9bc Mon Sep 17 00:00:00 2001 From: Dorian HODIN Date: Thu, 24 Nov 2022 20:42:57 +0100 Subject: [PATCH] config.php last update --- Sources/php_script/script/config.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Sources/php_script/script/config.php b/Sources/php_script/script/config.php index e2d4c53..c604963 100644 --- a/Sources/php_script/script/config.php +++ b/Sources/php_script/script/config.php @@ -3,10 +3,6 @@ $username=$_ENV["USER"]; $host=$_ENV["HOST"]; //Get the address IP of the hosting machine $password=$_ENV["PASSWORD"]; //Get the password for the user selected $db_name=$_ENV["DATABASE"]; //Get the name of the database -foreach (getenv() as $key => $value) { - echo $key . ' - ' . $value."
"; -} - try { //Try to connect to the database $connect = mysqli_connect($host, $username, $password, $db_name); //Connecting to database }catch (mysqli_sql_exception){ //If the connection failed