Activation Module auth et user
This commit is contained in:
parent
dff71e9172
commit
1f2f0f4364
@ -19,9 +19,11 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
||||
$this->bootstrap('frontController');
|
||||
$front = $this->getResource('frontController');
|
||||
$front->setControllerDirectory(array(
|
||||
'auth' => __DIR__ . '/modules/auth/controllers',
|
||||
'default' => __DIR__ . '/modules/default/controllers',
|
||||
'file' => __DIR__ . '/modules/file/controllers',
|
||||
'search' => __DIR__ . '/modules/search/controllers',
|
||||
'user' => __DIR__ . '/modules/user/controllers',
|
||||
));
|
||||
|
||||
return $front;
|
||||
@ -49,13 +51,6 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
||||
$front = $this->getResource('frontController');
|
||||
$router = $front->getRouter();
|
||||
|
||||
$localauthRoute = new Zend_Controller_Router_Route('localauth/', array(
|
||||
'module' => 'default',
|
||||
'controller' => 'user',
|
||||
'action' => 'login'
|
||||
));
|
||||
$router->addRoute('localauth', $localauthRoute);
|
||||
|
||||
$printRoute = new Zend_Controller_Router_Route('editer/:action/:fichier', array(
|
||||
'module' => 'default',
|
||||
'controller' => 'print',
|
||||
@ -64,8 +59,8 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
||||
$router->addRoute('print', $printRoute);
|
||||
|
||||
$ssoRoute = new Zend_Controller_Router_Route('sso/:partner/', array(
|
||||
'module' => 'default',
|
||||
'controller' => 'auth',
|
||||
'module' => 'auth',
|
||||
'controller' => 'sso',
|
||||
'action' => 'index',
|
||||
));
|
||||
$router->addRoute('sso', $ssoRoute);
|
||||
|
Loading…
Reference in New Issue
Block a user