This commit is contained in:
KANE LAZENI 2026-02-22 11:04:16 +00:00
parent f47ede8453
commit 0cb8e11503
2 changed files with 12 additions and 9 deletions

View File

@ -40,6 +40,7 @@
$_SESSION['codeBdd'] = $codeBdd; $_SESSION['codeBdd'] = $codeBdd;
$bdd = $assure->geUneBd($codeBdd); $bdd = $assure->geUneBd($codeBdd);
/*
var_dump( var_dump(
array( array(
"bdd" => $bdd, "bdd" => $bdd,
@ -48,7 +49,8 @@
) )
); );
*/
if(!$bdd) { if(!$bdd) {
$message = $codeLangue == 'en_US' ? "Entity not found!" : "Entité introuvable!"; $message = $codeLangue == 'en_US' ? "Entity not found!" : "Entité introuvable!";
afficherMessage("<strong>$message</strong>"); afficherMessage("<strong>$message</strong>");

View File

@ -25,14 +25,15 @@ abstract class Modelecontestation
$login = Configuration::get("login"); $login = Configuration::get("login");
$mdp = Configuration::get("mdp"); $mdp = Configuration::get("mdp");
var_dump( /*
array( var_dump(
"dsn" => $dsn, array(
"login" => $login, "dsn" => $dsn,
"mdp" => $mdp, "login" => $login,
) "mdp" => $mdp,
)
); );
*/
self::$bdd = new PDO self::$bdd = new PDO
( (