summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-30 12:47:14 +0000
committerSteven Barth <steven@midlink.org>2008-08-30 12:47:14 +0000
commit63706a9f4391a56f7054c496f519e8ec5bebbe1f (patch)
tree5aa09a2399d8de8a655b4e14623595b58c88557a /libs/cbi
parent055cef53361aad1135dddc789352f832832828b0 (diff)
libs/cbi: Disable strict mode for now
Diffstat (limited to 'libs/cbi')
-rw-r--r--libs/cbi/luasrc/cbi.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua
index 6740141ac..29dd3054f 100644
--- a/libs/cbi/luasrc/cbi.lua
+++ b/libs/cbi/luasrc/cbi.lua
@@ -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