From: Steven Barth Date: Sat, 30 Aug 2008 12:47:14 +0000 (+0000) Subject: libs/cbi: Disable strict mode for now X-Git-Tag: 0.8.0~238 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=63706a9f4391a56f7054c496f519e8ec5bebbe1f;p=oweals%2Fluci.git libs/cbi: Disable strict mode for now --- 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