diff --git a/.gitignore b/.gitignore index 62687c9..e5728f9 100755 --- a/.gitignore +++ b/.gitignore @@ -820,4 +820,4 @@ replay_pid* # .nfs files are created when an open file is removed but is still being accessed .nfs* # config ignore to not stock password on the git (: -/Website/usages/config.php \ No newline at end of file +/Website/usages/Config.php \ No newline at end of file diff --git a/Website/controllers/ControllerUser.php b/Website/controllers/ControllerUser.php index a43d8da..7bf6a97 100644 --- a/Website/controllers/ControllerUser.php +++ b/Website/controllers/ControllerUser.php @@ -155,11 +155,10 @@ class ControllerUser //EN GROS IL FAUT AFFICHER LE SCORE (C'est copilot qui a fait ça, la fin du commentaire j'veux dire) //Si faut paser un param score de page en page dittes le moi je le ferais dw } else { - var_dump($_SESSION["Temps"]); - // echo $this->twig->render($this->vues["singleplayer"], [ - // 'questions' => $_SESSION["Questions"], - // 'numQuestion' => $numQuestion, - // ]); + echo $this->twig->render($this->vues["singleplayer"], [ + 'questions' => $_SESSION["Questions"], + 'numQuestion' => $numQuestion, + ]); } } }