Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Admin_IndexController extends Zend_Controller_Action {
- public function init(){
- Bvb_Grid::useModRewrite(true);
- }
- public function indexAction() {
- if (!Zend_Auth::getInstance()->hasIdentity()) {
- return $this->redirect('/admin/auth');
- }else{
- return $this->redirect('/admin/home');
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment