From 91ba7c42f5b45614c9f4c803d09399f08a8e27b1 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 26 Aug 2008 23:00:44 +0000 Subject: UCI API changes --- libs/web/luasrc/config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/web/luasrc/config.lua') diff --git a/libs/web/luasrc/config.lua b/libs/web/luasrc/config.lua index 72bd5aa924..955ede9adb 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 -- cgit v1.2.3