libs/cbi: Disable strict mode for now

This commit is contained in:
Steven Barth 2008-08-30 12:47:14 +00:00
parent 055cef5336
commit 63706a9f43

View file

@ -80,7 +80,10 @@ end
local function _uvl_validate_section(node, name)
local co = node.map:get()
luci.uvl.STRICT_UNKNOWN_OPTIONS = false
luci.uvl.STRICT_UNKNOWN_SECTIONS = false
local stat, err = node.map.validator:validate_section(node.config, name, co)
if err then
node.map.save = false