Example #1
0
 /**
  * Loads all the specific apps from database and launches the ones that are marked as bootstrap
  *
  * @inheritdoc
  */
 public function init()
 {
     parent::init();
     // We will check if the system it's already installed, if so, then the system will
     // continue loading normally, if it isn't then the installation module will get the
     // lead in the CMS
     if (Yii::$app->getModule('installation')->checkInstallation() === FALSE) {
         Yii::$app->getModule('installation')->launchInstallation();
     }
 }
Example #2
0
 /**
  * @inheritdoc
  */
 public function init()
 {
     parent::init();
     $this->_installationDirectory = dirname(Yii::$app->getVendorPath()) . '/atuin';
 }