2015-06-29 15:40:24 +02:00
|
|
|
<?php
|
|
|
|
|
2015-06-30 11:27:32 +02:00
|
|
|
use Icinga\Forms\ConfigForm;
|
|
|
|
use Icinga\Module\Director\Web\Controller\ActionController;
|
2015-06-29 15:40:24 +02:00
|
|
|
|
|
|
|
class Director_SettingsController extends ActionController
|
|
|
|
{
|
|
|
|
public function indexAction()
|
|
|
|
{
|
2015-07-30 08:53:05 +02:00
|
|
|
$this->view->tabs = $this->Module()
|
|
|
|
->getConfigTabs()
|
|
|
|
->activate('config');
|
2015-06-29 15:40:24 +02:00
|
|
|
|
2015-07-30 08:53:05 +02:00
|
|
|
$this->view->form = $this->loadForm('config')
|
|
|
|
->setModuleConfig($this->Config())
|
|
|
|
->handleRequest();
|
2015-06-29 15:40:24 +02:00
|
|
|
}
|
|
|
|
}
|