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:
b848def
)
libs/web: fix file caches in dispatcher, broke when introducing lua-gz support
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 8 Apr 2009 00:08:38 +0000
(
00:08
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 8 Apr 2009 00:08:38 +0000
(
00:08
+0000)
libs/web/luasrc/dispatcher.lua
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/dispatcher.lua
b/libs/web/luasrc/dispatcher.lua
index 519473ea4aeb71f1edc0bbdad43a6e40081bb6e6..73daeaf17e50e24f40fbf48a24316b56d1c7ebec 100644
(file)
--- a/
libs/web/luasrc/dispatcher.lua
+++ b/
libs/web/luasrc/dispatcher.lua
@@
-390,7
+390,7
@@
end
function createindex_plain(path, suffixes)
local controllers = { }
for _, suffix in ipairs(suffixes) do
- util.combine(
+
controllers =
util.combine(
controllers,
luci.fs.glob(path .. "*" .. suffix) or {},
luci.fs.glob(path .. "*/*" .. suffix) or {}