mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
parent
c1c5a828e0
commit
f3b2b4869e
2 changed files with 4 additions and 2 deletions
|
|
@ -687,7 +687,9 @@ function plugins_utils.getMenuEntries()
|
|||
local menu_entry = dofile(full_path)
|
||||
|
||||
if(menu_entry and ((not menu_entry.is_shown) or menu_entry.is_shown())) then
|
||||
menu_entry.url = plugins_utils.getUrl(menu_entry.script)
|
||||
-- Don't add any getHttpPrefix to the url here, it's the caller that
|
||||
-- can potentially add it
|
||||
menu_entry.url = "/plugins/" .. menu_entry.script
|
||||
menu[plugin_key] = menu_entry
|
||||
|
||||
if menu_entry.menu_entry then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue