mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixes #4631 (a better solution to avoid loops would be desirable)
This commit is contained in:
parent
c6160c3b2b
commit
44005a6f29
1 changed files with 11 additions and 0 deletions
|
|
@ -2,6 +2,17 @@
|
|||
-- (C) 2014-20 - ntop.org
|
||||
--
|
||||
|
||||
-- Hack to avoid include loops
|
||||
|
||||
if(pragma_once_lua_utils == true) then
|
||||
-- avoid multiple inclusions
|
||||
return
|
||||
end
|
||||
|
||||
pragma_once_lua_utils = true
|
||||
|
||||
-- ###############################################
|
||||
|
||||
dirs = ntop.getDirs()
|
||||
|
||||
package.path = dirs.installdir .. "/scripts/lua/modules/i18n/?.lua;" .. package.path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue