config.php update
continuous-integration/drone/push Build is passing Details

remotes/origin/mvc-implementation
Dorian HODIN 2 years ago
parent e58061a50f
commit b89b312c88

@ -4,7 +4,7 @@ function connection(): bool|int|mysqli
{
$username = $_ENV["USER"]; //Get the username
$host = "localhost:3306"; //Get the url of the database
$host = "10.9.0.29"; //Get the url of the database
$password = $_ENV["PASSWORD"]; //Get the password for the user selected
$db_name = $_ENV["DATABASE"]; //Get the name of the database

@ -24,7 +24,6 @@ function insertUserAndReturnList(): array|int
include "config.php";
$res = connection();
print(json_encode(getenv("REMOTE_ADDR")));
if ($res == -1) {
return 2;

Loading…
Cancel
Save