Logs to main menu

This commit is contained in:
Václav Španinger 2020-08-03 15:06:43 +02:00
parent a6cb51f2f5
commit 7f42d49634
2 changed files with 1 additions and 4 deletions

View File

@ -23,9 +23,6 @@
], ],
]; ];
foreach ( $menuItems as $key => $value) { foreach ( $menuItems as $key => $value) {
if ($DEBUGMOD == 0 && $value['path'] == 'log') {
continue;
}
?> ?>
<div class="nav-item <?php echo ($ITEM == $value ? 'is-active' : ''); ?>"> <div class="nav-item <?php echo ($ITEM == $value ? 'is-active' : ''); ?>">
<a href="<?php echo $value['path']?>"> <a href="<?php echo $value['path']?>">