mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Reworked lua code
This commit is contained in:
parent
74f03c3a38
commit
49bdd32ce0
7 changed files with 2173 additions and 1953 deletions
|
|
@ -2,13 +2,13 @@
|
|||
-- (C) 2013-22 - ntop.org
|
||||
--
|
||||
|
||||
local clock_start = os.clock()
|
||||
|
||||
local dirs = ntop.getDirs()
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/pools/?.lua;" .. package.path
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/notifications/?.lua;" .. package.path
|
||||
|
||||
local clock_start = os.clock()
|
||||
|
||||
local json = require("dkjson")
|
||||
local alert_severities = require "alert_severities"
|
||||
local alert_consts = require("alert_consts")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue