libs/web: fix file caches in dispatcher, broke when introducing lua-gz support

This commit is contained in:
Jo-Philipp Wich 2009-04-08 00:08:38 +00:00
parent b848def429
commit 859a3fee88

View file

@ -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 {}