Added user role in About page

Fixed SQL when exploring subnets
Modified preferences to specify that when nDPI RRDs are created, they do for both local hosts and networks
This commit is contained in:
Luca Deri 2015-09-14 14:16:11 +02:00
parent 228c407249
commit 4bf10f4fce
7 changed files with 72 additions and 23 deletions

View file

@ -1476,13 +1476,13 @@ end
-- ##############################################
function isAdministrator()
local user_group = ntop.getUserGroup()
if(user_group == "administrator") then
return(true)
else
return(false)
end
local user_group = ntop.getUserGroup()
if(user_group == "administrator") then
return(true)
else
return(false)
end
end
-- ##############################################