protected function startup() { parent::startup(); $this->template->step = NULL; if (!$this->steps->getFromCache(Steps::Step3)) { $this->redirect(':Install:Install:'); } }
protected function startup() { parent::startup(); // Verify the existence of the installation module. if (is_dir($this->getModuleDir() . '/install')) { $this->redirect(':Install:Install:'); } // After installation, the system remove unnecessary module. $completion = $this->getModuleDir() . '/install.completion'; if (is_dir($completion)) { $this->deleteThis($completion); } }
protected function startup() { parent::startup(); $this->template->step = NULL; }