mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-22 05:14:25 +02:00
parent
96460a2027
commit
457eb52e2c
@ -5,6 +5,7 @@ namespace Icinga\Web\Navigation;
|
|||||||
|
|
||||||
use Icinga\Application\Hook\HealthHook;
|
use Icinga\Application\Hook\HealthHook;
|
||||||
use Icinga\Application\Icinga;
|
use Icinga\Application\Icinga;
|
||||||
|
use Icinga\Application\Logger;
|
||||||
use Icinga\Authentication\Auth;
|
use Icinga\Authentication\Auth;
|
||||||
use ipl\Html\Attributes;
|
use ipl\Html\Attributes;
|
||||||
use ipl\Html\BaseHtmlElement;
|
use ipl\Html\BaseHtmlElement;
|
||||||
@ -97,6 +98,14 @@ class ConfigMenu extends BaseHtmlElement
|
|||||||
]
|
]
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
if (Logger::writesToFile()) {
|
||||||
|
$this->children['system']['items']['application_log'] = [
|
||||||
|
'label' => t('Application Log'),
|
||||||
|
'url' => 'list/applicationlog',
|
||||||
|
'permission' => 'application/log'
|
||||||
|
];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function assembleUserMenuItem(BaseHtmlElement $userMenuItem)
|
protected function assembleUserMenuItem(BaseHtmlElement $userMenuItem)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user