mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fix scripts path
This commit is contained in:
parent
8c441a5bf6
commit
4d9739c906
3 changed files with 7 additions and 7 deletions
|
|
@ -227,8 +227,8 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function system_scripts.getPageScriptPath(page_script)
|
||||
return(ntop.getHttpPrefix() .. "/lua/system/" .. page_script)
|
||||
function system_scripts.getPageScriptPath(probe)
|
||||
return(ntop.getHttpPrefix() .. "/lua/system/" .. probe.page_script)
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
|
@ -255,7 +255,7 @@ function system_scripts.getSystemMenuEntries()
|
|||
for idx, probe in pairs(rv) do
|
||||
rv[idx] = {
|
||||
label = probe.name,
|
||||
url = system_scripts.getPageScriptPath(probe.page_script),
|
||||
url = system_scripts.getPageScriptPath(probe),
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue