mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fix for avoiding circolary loops
This commit is contained in:
parent
77ca8cd826
commit
13c893fddc
3 changed files with 30 additions and 1 deletions
|
|
@ -4,12 +4,25 @@
|
|||
--
|
||||
-- Container for GUI-related stuff that used to be part of lua_utils.lua
|
||||
--
|
||||
|
||||
if(pragma_once_lua_utils_gui == true) then
|
||||
-- io.write(debug.traceback().."\n")
|
||||
-- tprint("Circular dependency in lua_utils_gui.lua")
|
||||
-- tprint(debug.traceback())
|
||||
-- avoid multiple inclusions
|
||||
return
|
||||
end
|
||||
|
||||
pragma_once_lua_utils_gui = true
|
||||
|
||||
|
||||
local clock_start = os.clock()
|
||||
|
||||
local format_utils = require "format_utils"
|
||||
local dns_utils = require "dns_utils"
|
||||
local http_utils = require "http_utils"
|
||||
|
||||
|
||||
-- ##############################################
|
||||
|
||||
function sendHTTPHeaderIfName(mime, ifname, maxage, content_disposition, extra_headers, status_code)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue