diff --git a/.DS_Store b/.DS_Store index 0c71815..c817179 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/controleurs/ControleurUtilisateur.php b/controleurs/ControleurUtilisateur.php index 84260f2..77328c4 100644 --- a/controleurs/ControleurUtilisateur.php +++ b/controleurs/ControleurUtilisateur.php @@ -4,8 +4,7 @@ class UserController{ public function __construct() { global $rep,$vues; - //On démarre la session - session_sart(); + $arrayErrorViews= array(); $action = $_REQUEST['action']??null; @@ -70,7 +69,7 @@ class UserController{ try{ UserModel::changerPassword($newPassword); - require($rep.$vues['profil']) + require($rep.$vues['profil']); }catch(PDOException $e){ $dataView[]="Erreur inatendue"; require($rep.$vues['erreur']); diff --git a/controleurs/ControleurVisiteur.php b/controleurs/ControleurVisiteur.php index 461703d..9e9f2a0 100644 --- a/controleurs/ControleurVisiteur.php +++ b/controleurs/ControleurVisiteur.php @@ -4,8 +4,6 @@ class VisitorController { public function __construct() { global $rep,$vues; - //On démarre la session - session_sart(); $arrayErrorViews= array(); try{ diff --git a/controleurs/FrontControleur.php b/controleurs/FrontControleur.php index 2efdf89..689b865 100644 --- a/controleurs/FrontControleur.php +++ b/controleurs/FrontControleur.php @@ -1,18 +1,22 @@ gw = new ListeGateway($co); - } - -} - -?> \ No newline at end of file diff --git a/modeles/Modèle/UserModel b/modeles/Modèle/UserModel deleted file mode 100644 index 02ffb61..0000000 --- a/modeles/Modèle/UserModel +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/phpProject b/phpProject new file mode 160000 index 0000000..8d36530 --- /dev/null +++ b/phpProject @@ -0,0 +1 @@ +Subproject commit 8d36530eb50f80bd0d2b77e03ff716c4776f5cfc