26 if ($this->module->install !==
true) {
27 $this->redirect(Yii::app()->homeUrl);
30 $this->_authorizer = $this->module->getAuthorizer();
31 $this->_installer = $this->module->getInstaller();
32 $this->
layout = $this->module->layout;
33 $this->defaultAction =
'run';
36 $this->module->registerScripts();
45 return $this->_installer->installed ===
true ? array(
'accessControl') : array();
64 'users' => $this->_authorizer->getSuperusers(),
67 'users' => array(
'*'),
77 $this->render(
'confirm');
88 if (Yii::app()->user->isGuest ===
false) {
90 if (isset($_GET[
'confirm']) ===
true || $this->_installer->installed ===
false) {
94 Yii::app()->user->isSuperuser =
true;
95 $this->redirect(array(
'install/ready'));
99 $this->redirect(array(
'install/error'));
103 $this->redirect(array(
'install/confirm'));
117 $this->render(
'ready');
125 $this->render(
'error');