blob: 5e6a31a178b7ebaec3fa6abeed4920b36bfe7945 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
/* Icinga Web 2 | (c) 2018 Icinga Development Team | GPLv2+ */
namespace Icinga\Module\Audit\Controllers;
use Icinga\Web\Controller;
use Icinga\Module\Audit\Forms\Config\AuditLogConfigForm;
class ConfigController extends Controller
{
public function indexAction()
{
$form = new AuditLogConfigForm();
$form->setIniConfig($this->Config());
$form->setSubmitLabel($this->translate('Save Configuration'));
$form->handleRequest();
$this->view->form = $form;
$this->view->tabs = $this->Module()->getConfigTabs()->activate('config');
}
}
|