public function loginAction() { $this->view->Title = 'Login'; $this->view->headTitle($this->view->Title, true); if ($this->_request->isPost()) { $auth = new Zendda_System_Auth(); if ($auth->login($this->_arrParams)) { $info = new Zendda_System_Info(); $info->createInfo(); $this->_redirect('/default/admin/index'); } else { $error[] = $auth->getError(); $this->view->messageError = $error; } } }