mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Add user_scripts subdir listing function
This commit is contained in:
parent
cc8c98581d
commit
6d4a1fda21
5 changed files with 63 additions and 7 deletions
|
|
@ -44,7 +44,7 @@ local scripts = user_scripts.load(getSystemInterfaceId(), script_type, subdir)
|
|||
local result = {}
|
||||
|
||||
for script_name, script in pairs(scripts.modules) do
|
||||
if script.gui.i18n_title and script.gui.i18n_description then
|
||||
if script.gui and script.gui.i18n_title and script.gui.i18n_description then
|
||||
local hooks = user_scripts.getConfigsetHooksConf(config_set, script, subdir)
|
||||
local enabled_hooks = {}
|
||||
local edit_url = nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue