Mise à jour de 'api-rest/index.php'
continuous-integration/drone/push Build is passing Details

testDockerToto
Thomas CHAZOT 2 years ago
parent ed4f958fe7
commit 2cca24cc7f

@ -19,11 +19,11 @@
// ------
//$ini_array= parse_ini_file("config.ini");
$dsn = "mysql:host=". getenv("db_server").";dbname=". getenv("MYSQL_DATABASE");
$dsn = "mysql:host=". getenv("DB_SERVER").";dbname=". getenv("MYSQL_DATABASE");
$username = "root";
$password = getenv("MYSQL_ROOT_PASSWORD");
echo getenv("db_server");
echo getenv("DB_SERVER");
// Initializing Database
try{

Loading…
Cancel
Save