libs/cbi: Disable strict mode for now
authorSteven Barth <steven@midlink.org>
Sat, 30 Aug 2008 12:47:14 +0000 (12:47 +0000)
committerSteven Barth <steven@midlink.org>
Sat, 30 Aug 2008 12:47:14 +0000 (12:47 +0000)
libs/cbi/luasrc/cbi.lua

index 6740141..29dd305 100644 (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