From 859a3fee889026a88e7780424711235e2a1e1d5f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 8 Apr 2009 00:08:38 +0000 Subject: libs/web: fix file caches in dispatcher, broke when introducing lua-gz support --- libs/web/luasrc/dispatcher.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs') diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua index 519473ea4..73daeaf17 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 {} -- cgit v1.2.3