|
|
@ -14,23 +14,15 @@ Class FrontControler{
|
|
|
|
public function __construct($co){
|
|
|
|
public function __construct($co){
|
|
|
|
global $twig;
|
|
|
|
global $twig;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
|
|
|
$this->listAction = ['visitor' => array('accueil','search','quote','login','signin'),
|
|
|
|
$this->listAction = ['visitor' => array('accueil','search','quote','login','signin'),
|
|
|
|
'user' => array('quiz','commentary','favorite','logout','addComment'),
|
|
|
|
'user' => array('quiz','commentary','logout','addComment','favorite'),
|
|
|
|
'admin' => array('null')];
|
|
|
|
|
|
|
|
=======
|
|
|
|
|
|
|
|
$this->listAction = ['visitor' => array('accueil','search','quote','login','signin', 'favorite'),
|
|
|
|
|
|
|
|
'user' => array('quiz','commentary','logout'),
|
|
|
|
|
|
|
|
'admin' => array('null')];
|
|
|
|
'admin' => array('null')];
|
|
|
|
>>>>>>> refs/remotes/origin/master
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$dVueEreur = [];
|
|
|
|
$dVueEreur = [];
|
|
|
|
|
|
|
|
|
|
|
|
$router = new \AltoRouter();
|
|
|
|
$router = new \AltoRouter();
|
|
|
|
|
|
|
|
|
|
|
|
$router->setBasePath('/~marocher8/WF-Website');
|
|
|
|
$router->setBasePath('/~kemondejar/WF-Website');
|
|
|
|
|
|
|
|
|
|
|
|
$router->map('GET', '/', 'VisitorControler','accueil');
|
|
|
|
$router->map('GET', '/', 'VisitorControler','accueil');
|
|
|
|
|
|
|
|
|
|
|
|