mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Change key scope
This commit is contained in:
parent
19c78be6e8
commit
7e54b9c52c
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,6 @@ local verbose = false
|
|||
local prefs = ntop.getPrefs()
|
||||
local info = ntop.getInfo()
|
||||
local menu_subpages = require "prefs_menu"
|
||||
show_advanced_prefs_key = "ntopng.prefs.show_advanced_prefs"
|
||||
local have_nedge = ntop.isnEdge()
|
||||
local skip_redis = false
|
||||
|
||||
|
|
@ -53,6 +52,7 @@ DNS_PRESETS = {
|
|||
|
||||
function isSubpageAvailable(subpage, show_advanced_prefs)
|
||||
if show_advanced_prefs == nil then
|
||||
local show_advanced_prefs_key = "ntopng.prefs.show_advanced_prefs"
|
||||
show_advanced_prefs = toboolean(ntop.getPref(show_advanced_prefs_key))
|
||||
end
|
||||
if (subpage.hidden) or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue