/** * Admin panel configuration action */ public function administratorAction() { Fox::getModel('installer/session')->setCurrentStep(4); try { if ($this->getRequest()->isPost()) { $data = $this->getRequest()->getPost(); Fox::getModel('installer/session')->setBackend($data); if (!$data['password'] || $data['password'] != $data['confirm_password']) { throw new Exception('Password and Confirm Password do not match'); } Uni_Core_Installer::finishSetup(); $this->sendRedirect('*/*/finish'); } } catch (Exception $e) { Fox::getHelper('core/message')->setError($e->getMessage()); } $this->loadLayout(); $this->renderLayout(); }