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 6740141acc35c69f9078bdde1e53173a8714336f..29dd3054fd90cae69a7b5785d2a88116b19cdcbd 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