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

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

@ -174,9 +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; echo $etat. " etat\n";
$idPartie = $reponse[0]; $idPartie = $reponse[0];
echo $idPartie; echo $idPartie . " idPartie\n";
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