summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc/dispatcher.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-04-08 00:08:38 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-04-08 00:08:38 +0000
commit859a3fee889026a88e7780424711235e2a1e1d5f (patch)
treed435ee6540d86b546a6011e4aeb677f94831519e /libs/web/luasrc/dispatcher.lua
parentb848def42914e3e9a4e4efcd247d4fcc84c172a4 (diff)
libs/web: fix file caches in dispatcher, broke when introducing lua-gz support
Diffstat (limited to 'libs/web/luasrc/dispatcher.lua')
-rw-r--r--libs/web/luasrc/dispatcher.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index 519473ea4a..73daeaf17e 100644
--- 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 {}