mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
System config cleanup, add startup initialization, add more admin checks, move reset code to nf_config
This commit is contained in:
parent
15e5f660e0
commit
9a26717a71
9 changed files with 32 additions and 84 deletions
|
|
@ -10,7 +10,7 @@ require "lua_utils"
|
|||
require "prefs_utils"
|
||||
prefsSkipRedis(true)
|
||||
|
||||
if not (ntop.isnEdge() or ntop.isAppliance()) then
|
||||
if not (ntop.isnEdge() or ntop.isAppliance()) or not isAdministrator() then
|
||||
return
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue