mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
Cleaned up the code from plugin_utils
This commit is contained in:
parent
f1e8091928
commit
57a85de50e
105 changed files with 620 additions and 918 deletions
|
|
@ -7,10 +7,7 @@ local dirs = ntop.getDirs()
|
|||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
|
||||
require "lua_utils"
|
||||
local alert_utils = require "alert_utils"
|
||||
local json = require("dkjson")
|
||||
local ts_utils = require("ts_utils_core")
|
||||
local plugins_utils = require("plugins_utils")
|
||||
local periodic_activities_utils = require "periodic_activities_utils"
|
||||
local cpu_utils = require("cpu_utils")
|
||||
|
||||
|
|
@ -18,7 +15,6 @@ sendHTTPHeader('application/json')
|
|||
|
||||
local callback_utils = require("callback_utils")
|
||||
local recording_utils = require("recording_utils")
|
||||
local alert_consts = require("alert_consts")
|
||||
|
||||
local function userHasRestrictions()
|
||||
local allowed_nets = ntop.getPref("ntopng.user." .. (_SESSION["user"] or "") .. ".allowed_nets")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue