SonarQube security resolve
continuous-integration/drone/push Build is passing Details

LoginModification
Alexis 2 years ago
parent e3f64c9d14
commit 64afd8f5da

@ -9,11 +9,10 @@ function connect()
{ {
$dsn = "mysql:host=localhost;dbname=formulaire;charset=utf8"; $dsn = "mysql:host=localhost;dbname=formulaire;charset=utf8";
$login = "root"; $login = "root";
$password = "root";
try { try {
$connection = new Connection($dsn,$login,$password); $connection = new Connection($dsn,$login,"root");
} catch (PDOException $e){ } catch (PDOException $e){
http_response_code(404); http_response_code(404);

Loading…
Cancel
Save