mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
parent
2c597b4a1f
commit
90aadfe112
1 changed files with 2 additions and 2 deletions
|
|
@ -3621,7 +3621,7 @@ end
|
|||
|
||||
function savePrefsToDisk()
|
||||
local dirs = ntop.getDirs()
|
||||
local where = dirs.workingdir.."/runtimeprefs.json"
|
||||
local where = fixPath(dirs.workingdir.."/runtimeprefs.json")
|
||||
local keys = ntop.getKeysCache("ntopng.prefs.*")
|
||||
|
||||
local out = {}
|
||||
|
|
@ -3641,7 +3641,7 @@ end
|
|||
|
||||
function readPrefsFromDisk()
|
||||
local dirs = ntop.getDirs()
|
||||
local where = dirs.workingdir.."/runtimeprefs.json"
|
||||
local where = fixPath(dirs.workingdir.."/runtimeprefs.json")
|
||||
local file = io.open(where, "r")
|
||||
|
||||
if(file ~= nil) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue