Exemple #1
0
 protected function startup()
 {
     parent::startup();
     $this->template->step = NULL;
     if (!$this->steps->getFromCache(Steps::Step3)) {
         $this->redirect(':Install:Install:');
     }
 }
Exemple #2
0
 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);
     }
 }
Exemple #3
0
 protected function startup()
 {
     parent::startup();
     $this->template->step = NULL;
 }