projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
055cef5
)
libs/cbi: Disable strict mode for now
author
Steven Barth
<steven@midlink.org>
Sat, 30 Aug 2008 12:47:14 +0000
(12:47 +0000)
committer
Steven Barth
<steven@midlink.org>
Sat, 30 Aug 2008 12:47:14 +0000
(12:47 +0000)
libs/cbi/luasrc/cbi.lua
patch
|
blob
|
history
diff --git
a/libs/cbi/luasrc/cbi.lua
b/libs/cbi/luasrc/cbi.lua
index 6740141acc35c69f9078bdde1e53173a8714336f..29dd3054fd90cae69a7b5785d2a88116b19cdcbd 100644
(file)
--- 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