mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Add utility function
This commit is contained in:
parent
5dfbf87bba
commit
e9681c206f
1 changed files with 7 additions and 0 deletions
|
|
@ -3399,6 +3399,13 @@ function printntopngRelease(info)
|
|||
print(" Edition</td></tr>\n")
|
||||
end
|
||||
|
||||
-- ###########################################
|
||||
|
||||
-- avoids manual HTTP prefix and /lua concatenation
|
||||
function page_url(path)
|
||||
return ntop.getHttpPrefix().."/lua/"..path
|
||||
end
|
||||
|
||||
-- ###########################################
|
||||
--
|
||||
-- IMPORTANT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue