Adds log entry to main menu

main
Yasen Pramatarov 2025-04-25 10:14:21 +03:00
parent 242b63317b
commit ff28ebf753
1 changed files with 1 additions and 3 deletions

View File

@ -79,9 +79,7 @@
</a>
<?php } ?>
<?php if ($userObject->hasRight($userId, 'view app logs')) {?>
<a class="dropdown-item" href="<?= htmlspecialchars($app_root) ?>?page=logs">
<i class="fas fa-list"></i>Logs
</a>
<?php do_hook('main_menu', ['app_root' => $app_root, 'section' => 'main', 'position' => 100]); ?>
<?php } ?>
</div>
</li>