public function actionRunDiagnostic()
 {
     $breadCrumbLinks = array(Zurmo::t('ZurmoModule', 'Developer Tools') => array('/zurmo/development'), Zurmo::t('InstallModule', 'System Diagnostics'));
     $serviceCheckResultsDataForDisplay = CheckServicesUtil::checkServicesAfterInstallationAndGetResultsDataForDisplay();
     $checkServicesView = new DiagnosticCheckServicesView($this->getId(), $this->getModule()->getId(), $serviceCheckResultsDataForDisplay);
     $view = new ConfigurationPageView(ZurmoDefaultAdminViewUtil::makeViewWithBreadcrumbsForCurrentUser($this, $checkServicesView, $breadCrumbLinks, 'SettingsBreadCrumbView'));
     echo $view->render();
 }
Esempio n. 2
0
 protected function additionalSystemCheck($form)
 {
     $serviceCheckResultsDataForDisplay = CheckServicesUtil::checkServicesAndGetResultsDataForDisplay(true, $form);
     if (count($serviceCheckResultsDataForDisplay[CheckServicesUtil::CHECK_FAILED][ServiceHelper::REQUIRED_SERVICE]) && !defined('IS_TEST')) {
         $checkServicesView = new InstallAdditionalCheckServicesView($this->getId(), $this->getModule()->getId(), $serviceCheckResultsDataForDisplay);
         $view = new InstallPageView($checkServicesView);
         echo $view->render();
         Yii::app()->end(0, false);
     }
     $this->actionRunInstallation($form);
     Yii::app()->end(0, false);
 }