mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Make configsets global
This commit is contained in:
parent
71fa8de0a3
commit
c665bc78d7
12 changed files with 147 additions and 109 deletions
|
|
@ -9,11 +9,9 @@ require "lua_utils"
|
|||
local json = require("dkjson")
|
||||
local user_scripts = require("user_scripts")
|
||||
|
||||
local subdir = _GET["script_subdir"] or "host"
|
||||
|
||||
sendHTTPContentTypeHeader('application/json')
|
||||
|
||||
local config_sets = user_scripts.getConfigsets(subdir)
|
||||
local config_sets = user_scripts.getConfigsets()
|
||||
local rv = {}
|
||||
|
||||
-- Only return the essential information
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue