mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
parent
a1b31b054e
commit
879858639a
4 changed files with 40 additions and 39 deletions
|
|
@ -71,7 +71,9 @@ local maps_utils = {}
|
|||
-- ##############################################
|
||||
|
||||
local function areMapsEnabled()
|
||||
return(ntop.isEnterpriseL() and ntop.isAdministrator() and (ntop.getPref(behavior_maps_key) == "1"))
|
||||
local res = (ntop.isEnterpriseL() or ntop.isnEdgeEnterprise()) and ntop.isAdministrator() and (ntop.getPref(behavior_maps_key) == "1")
|
||||
|
||||
return res
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue