diff --git a/Controleur/ControleurConnexion.php b/Controleur/ControleurConnexion.php index d7abbdb..dbfbf68 100644 --- a/Controleur/ControleurConnexion.php +++ b/Controleur/ControleurConnexion.php @@ -156,7 +156,18 @@ require_once 'Framework/Localisation.php'; } // Fin test Licence - + if($utilisateur['extranetActif']<>1) + { + if ($_SESSION['lang']=="en_US") + { + $this->genererVue(array('msgErreur' => 'Extranet disabled!'), "index"); + } + else + { + $this->genererVue(array('msgErreur' => 'Extranet désactivé!'), "index"); + } + exit(); + } if($utilisateur['actif']<>1) {