From: Jo-Philipp Wich Date: Wed, 8 Apr 2009 00:08:38 +0000 (+0000) Subject: libs/web: fix file caches in dispatcher, broke when introducing lua-gz support X-Git-Tag: 0.9.0~526 X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=859a3fee889026a88e7780424711235e2a1e1d5f;p=project%2Fluci.git libs/web: fix file caches in dispatcher, broke when introducing lua-gz support --- 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 {}