mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Split preferences into simple and advanced
This commit is contained in:
parent
af9fc2fa10
commit
bd11ca7937
2 changed files with 80 additions and 75 deletions
|
|
@ -2526,3 +2526,13 @@ function table.merge(a, b)
|
|||
|
||||
return merged
|
||||
end
|
||||
|
||||
function toboolean(s)
|
||||
if s == "true" then
|
||||
return true
|
||||
elseif s == "false" then
|
||||
return false
|
||||
else
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue