Exemplo n.º 1
0
 public function init($params)
 {
     if (Installer::getStatus() !== Installer::CREATE_CONFIG) {
         InstallationPage::redirectToCorrectStep();
         exit;
     }
 }
Exemplo n.º 2
0
 public function init($params)
 {
     if (Installer::getStatus() !== Installer::CREATE_CONFIG) {
         InstallationPage::redirectToCorrectStep();
         exit;
     }
     $postData = \tniessen\tinyIt\HttpParams::_POST();
     if ($postData && !$postData->isEmpty()) {
         $this->currentParams = $postData;
         $this->tryProcessPostData($postData);
     }
 }