Mise à jour de 'Sources/php_script/script/config.php'
continuous-integration/drone/push Build was killed Details

master
Dorian HODIN 2 years ago
parent a063418d88
commit 52ec509b3d

@ -8,6 +8,10 @@ function connection(): bool|int|mysqli
$password = $_ENV["PASSWORD"]; //Get the password for the user selected $password = $_ENV["PASSWORD"]; //Get the password for the user selected
$db_name = $_ENV["DATABASE"]; //Get the name of the database $db_name = $_ENV["DATABASE"]; //Get the name of the database
echo $_SERVER['REMOTE_ADDR']
try { //Try to connect to the database try { //Try to connect to the database
return mysqli_connect($host, $username, $password,$db_name); //Connecting to database return mysqli_connect($host, $username, $password,$db_name); //Connecting to database

Loading…
Cancel
Save