diff options
-rw-r--r-- | libs/web/luasrc/config.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/config.lua b/libs/web/luasrc/config.lua index 12d7e8c917..dd3e01734e 100644 --- a/libs/web/luasrc/config.lua +++ b/libs/web/luasrc/config.lua @@ -34,5 +34,5 @@ local require = require module "luci.config" pcall(function() - util.update(_M, require "luci.model.uci".cursor():get_all("luci")) + setmetatable(_M, {__index=require "luci.model.uci".cursor():get_all("luci")}) end) |