From fe6a9d2e3083125201b3df49b835296dbfdeecd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Garnier?= Date: Mon, 12 Dec 2022 16:26:59 +0100 Subject: [PATCH] test --- WEB/Config/Autoload.php | 2 +- WEB/Model/VisitorModel.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/WEB/Config/Autoload.php b/WEB/Config/Autoload.php index 37475027..dfa0c5e3 100644 --- a/WEB/Config/Autoload.php +++ b/WEB/Config/Autoload.php @@ -37,7 +37,7 @@ class Autoload $dir =array('Model/','./','Config/','Controller/','Metier/', 'Factory/'); foreach ($dir as $d){ $file=$rep.$d.$filename; - echo $file."\n"; + // echo $file."\n"; if (file_exists($file)) { include $file; diff --git a/WEB/Model/VisitorModel.php b/WEB/Model/VisitorModel.php index 63359887..8c24cf42 100644 --- a/WEB/Model/VisitorModel.php +++ b/WEB/Model/VisitorModel.php @@ -86,6 +86,7 @@ class VisitorModel public function goToHome() { global $rep, $vues, $error; + new UtilisateurGateway(); echo "Home"; try { require($rep . $vues['main']);