From 63706a9f4391a56f7054c496f519e8ec5bebbe1f Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 30 Aug 2008 12:47:14 +0000 Subject: libs/cbi: Disable strict mode for now --- libs/cbi/luasrc/cbi.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs/cbi/luasrc') 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 -- cgit v1.2.3