mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
parent
ae4a8bdca0
commit
f8d09f7387
6 changed files with 45 additions and 10 deletions
|
|
@ -1080,6 +1080,16 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function user_scripts.resetConfigsets()
|
||||
cached_config_sets = nil
|
||||
ntop.delCache(CONFIGSETS_KEY)
|
||||
user_scripts.loadDefaultConfig()
|
||||
|
||||
return(true)
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
-- Returns true if a system script is enabled for some hook
|
||||
function user_scripts.isSystemScriptEnabled(script_key)
|
||||
local configsets = user_scripts.getConfigsets()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue