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

testDockerToto
Thomas CHAZOT 2 years ago
parent fdd2a894fb
commit f7d7050282

@ -23,6 +23,8 @@
$username = getenv("MYSQL_USER_TOM"); $username = getenv("MYSQL_USER_TOM");
$password = getenv("MYSQL_PASSWORD_TOM"); $password = getenv("MYSQL_PASSWORD_TOM");
echo $dsn;
// Initializing Database // Initializing Database
try{ try{
$database = new DatabaseConnection($dsn,$username,$password); $database = new DatabaseConnection($dsn,$username,$password);
@ -32,7 +34,6 @@
http_response_code(600); // Quel code pour les erreurs PDO? http_response_code(600); // Quel code pour les erreurs PDO?
} }
echo $database;
// Initializing Gateways // Initializing Gateways

Loading…
Cancel
Save