mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-04 09:50:09 +00:00
Add plugins support for httpdocs, HTML templates and Lua modules
Such resources can be placed into the following plugin subdirs: - ./httpdocs: javascript, css and similar, see plugins_utils.getHttpdocsDir - ./modules: Lua modules, see plugins_utils.loadModule - ./templates: HTML templates, see plugins_utils.renderTemplate
This commit is contained in:
parent
bb1b8ea7a6
commit
0ad1b65512
19 changed files with 154 additions and 44 deletions
|
|
@ -5,8 +5,9 @@
|
|||
local alerts_api = require("alerts_api")
|
||||
local alert_consts = require("alert_consts")
|
||||
local user_scripts = require("user_scripts")
|
||||
local active_monitoring_utils = require("active_monitoring_utils")
|
||||
local ts_utils = require("ts_utils_core")
|
||||
local plugins_utils = require("plugins_utils")
|
||||
local active_monitoring_utils = plugins_utils.loadModule("active_monitoring", "am_utils")
|
||||
|
||||
-- Enable do_trace messages
|
||||
local do_trace = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue