summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc/config.lua
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-26 23:00:44 +0000
committerSteven Barth <steven@midlink.org>2008-08-26 23:00:44 +0000
commit91ba7c42f5b45614c9f4c803d09399f08a8e27b1 (patch)
tree21d1e1d67b3bee82eb123c0c5dbb274f2fcb6b59 /libs/web/luasrc/config.lua
parent43b3217e5595acc91ff6d7614a5c21c88696fbcc (diff)
UCI API changes
Diffstat (limited to 'libs/web/luasrc/config.lua')
-rw-r--r--libs/web/luasrc/config.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/config.lua b/libs/web/luasrc/config.lua
index 72bd5aa92..955ede9ad 100644
--- a/libs/web/luasrc/config.lua
+++ b/libs/web/luasrc/config.lua
@@ -28,6 +28,6 @@ limitations under the License.
module("luci.config",
function(m)
if pcall(require, "luci.model.uci") then
- setmetatable(m, {__index = luci.model.uci.get_all("luci")})
+ setmetatable(m, {__index = luci.model.uci.cursor():get_all("luci")})
end
end) \ No newline at end of file