From a06568ce417ebfd3ab2fbce80852a1d31c7c90d8 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 4 Nov 2014 16:19:20 +0100 Subject: [PATCH] security: Add menu entry for security refs #5647 --- library/Icinga/Web/Menu.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/library/Icinga/Web/Menu.php b/library/Icinga/Web/Menu.php index 870c2f1f3..a556484e9 100644 --- a/library/Icinga/Web/Menu.php +++ b/library/Icinga/Web/Menu.php @@ -68,7 +68,7 @@ class Menu implements RecursiveIterator * @var MenuItemRenderer */ protected $itemRenderer = null; - + /* * Parent menu * @@ -223,6 +223,10 @@ class Menu implements RecursiveIterator 'url' => 'config/modules', 'priority' => 400 )); + $section->add(t('Security'), array( + 'url' => 'security', + 'priority' => 500 + )); if (Logger::writesToFile()) { $section->add(t('Application Log'), array( @@ -691,7 +695,7 @@ class Menu implements RecursiveIterator } /** - * PHP 5.3 GC should not leak, but just to be on the safe side... + * PHP 5.3 GC should not leak, but just to be on the safe side... */ public function __destruct() {