projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e9e582
)
Heavy memory/performance optimizations #2
author
Steven Barth
<steven@midlink.org>
Fri, 5 Sep 2008 18:34:56 +0000
(18:34 +0000)
committer
Steven Barth
<steven@midlink.org>
Fri, 5 Sep 2008 18:34:56 +0000
(18:34 +0000)
libs/web/luasrc/config.lua
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/config.lua
b/libs/web/luasrc/config.lua
index 12d7e8c91743e95691771ab8e63a94f026edaf39..dd3e01734ea20bac7b23890f4bcb0d083dc4310e 100644
(file)
--- 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)