Пример #1
0
 /**
  * returns the "Checking basic requirements" step
  * @return html the welcome message
  */
 public function checkLocalErrors()
 {
     // We use request rather than post, because this step can be called by url by displayComfortStep.js
     if (isset($_REQUEST['destinationBuild'])) {
         $destinationBuild = $_REQUEST['destinationBuild'];
         $access_token = $_REQUEST['access_token'];
         $updateModel = new UpdateForm();
         $localChecks = $updateModel->getLocalChecks($destinationBuild);
         $aData['localChecks'] = $localChecks;
         $aData['changelog'] = NULL;
         $aData['destinationBuild'] = $destinationBuild;
         $aData['access_token'] = $access_token;
         return $this->controller->renderPartial('update/updater/steps/_check_local_errors', $aData, false, false);
     }
     return $this->_renderErrorString("unknown_destination_build");
 }