|
|
@ -4,7 +4,7 @@ class FrontController {
|
|
|
|
|
|
|
|
|
|
|
|
public function __construct(){
|
|
|
|
public function __construct(){
|
|
|
|
$liste_actions_utilisateur = array('accessPrivateLists','crerListePv');
|
|
|
|
$liste_actions_utilisateur = array('accessPrivateLists','crerListePv');
|
|
|
|
$liste_actions_visiteur = array('goHome','changeCompletedTache','accessCreationTachePage','addTache','delTache','accessListInfos','accessCreationListePage','accessInscription','accessConnectionPage','creerListe','delListe','connection','inscription','deconnection');
|
|
|
|
$liste_actions_visiteur = array('goHome','changeCompletedTache','accessCreationTachePage','addTache','delTache','modifyList','accessCreationListePage','accessInscription','accessConnectionPage','creerListe','delListe','singIn','singUp','deconnection');
|
|
|
|
global $rep,$vues,$bd,$dataView,$styles,$assets;
|
|
|
|
global $rep,$vues,$bd,$dataView,$styles,$assets;
|
|
|
|
session_start();
|
|
|
|
session_start();
|
|
|
|
try{
|
|
|
|
try{
|
|
|
@ -18,7 +18,10 @@ class FrontController {
|
|
|
|
new UserController();
|
|
|
|
new UserController();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else{
|
|
|
|
} else{
|
|
|
|
|
|
|
|
echo "WTFFFFFFFFFFFFF";
|
|
|
|
new VisitorController();
|
|
|
|
new VisitorController();
|
|
|
|
|
|
|
|
echo "ALED";
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} catch (Exception $e){require ($rep.$vues['erreur']);}
|
|
|
|
} catch (Exception $e){require ($rep.$vues['erreur']);}
|
|
|
|
}
|
|
|
|
}
|
|
|
|