assertPermission('config/modules'); parent::init(); } public function indexAction() { $backendConfig = new BackendConfigForm(); $backendConfig ->setIniConfig($this->Config()) ->handleRequest(); $this->view->backendConfig = $backendConfig; $globalConfig = new GlobalConfigForm(); $globalConfig ->setIniConfig($this->Config()) ->handleRequest(); $this->view->globalConfig = $globalConfig; $this->view->tabs = $this->Module()->getConfigTabs()->activate('config'); } public function monitoringAction() { $monitoringConfig = new MonitoringConfigForm(); $monitoringConfig ->setIniConfig($this->Config()) ->handleRequest(); $this->view->form = $monitoringConfig; $this->view->tabs = $this->Module()->getConfigTabs()->activate('monitoring'); } }