test
continuous-integration/drone/push Build is passing Details

ServeurDeTest
Noé GARNIER 2 years ago
parent c7747448e5
commit 364eeee813

@ -174,7 +174,9 @@ class UserController
$utilisateur = $_SESSION['utilisateur']; $utilisateur = $_SESSION['utilisateur'];
$reponse = $model->addToQueue($utilisateur->getEmail()); $reponse = $model->addToQueue($utilisateur->getEmail());
$etat = $reponse[1]; $etat = $reponse[1];
echo $etat;
$idPartie = $reponse[0]; $idPartie = $reponse[0];
echo $idPartie;
if($etat == 1){ if($etat == 1){
// header("Location: index.php?action=launchGame"); // header("Location: index.php?action=launchGame");
header("Location: index.php?action=goToPresentation"); header("Location: index.php?action=goToPresentation");

Loading…
Cancel
Save