|
|
@ -17,7 +17,7 @@ class FrontControleur
|
|
|
|
|
|
|
|
|
|
|
|
global $twig;
|
|
|
|
global $twig;
|
|
|
|
$router = new AltoRouter();
|
|
|
|
$router = new AltoRouter();
|
|
|
|
$router->setBasePath('~mapoint2/SAE/Php_RSS/fluxRSS/');
|
|
|
|
$router->setBasePath('~rorossetto/Php_RSS/fluxRSS/');
|
|
|
|
$router->map('GET', '/', 'UserControleur');
|
|
|
|
$router->map('GET', '/', 'UserControleur');
|
|
|
|
$router->map('GET|POST','/user/[a:action]?','UserControleur');
|
|
|
|
$router->map('GET|POST','/user/[a:action]?','UserControleur');
|
|
|
|
$router->map('GET|POST','/admin/[a:action]?','AdminControleur');
|
|
|
|
$router->map('GET|POST','/admin/[a:action]?','AdminControleur');
|
|
|
|