router- addRoute login new Zend_Controller_Rout er_Route login array c

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
$router->addRoute('login',
new Zend_Controller_Router_Route('login', array('controller' => 'login', 'action' => ''))
);
$router->addRoute('logout',
new Zend_Controller_Router_Route('logout', array('controller' => 'login', 'action' => 'logout'))
);