diff --git a/WEB/Model/VisitorModel.php b/WEB/Model/VisitorModel.php index 9240a163..63359887 100644 --- a/WEB/Model/VisitorModel.php +++ b/WEB/Model/VisitorModel.php @@ -1,18 +1,18 @@ enigme_gateway = new EnigmeGateway(); - $this->partie_gateway = new PartieGateway(); - $this->utilisateur_gateway = new UtilisateurGateway(); + // $this->enigme_gateway = new EnigmeGateway(); + // $this->partie_gateway = new PartieGateway(); + // $this->utilisateur_gateway = new UtilisateurGateway(); } catch (Exception $e) { $error = $e->getMessage(); require($rep . $view['erreur']); @@ -86,6 +86,7 @@ class VisitorModel public function goToHome() { global $rep, $vues, $error; + echo "Home"; try { require($rep . $vues['main']); } catch (Exception $e) {