libs/web: fix file caches in dispatcher, broke when introducing lua-gz support
This commit is contained in:
parent
b848def429
commit
859a3fee88
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ end
|
||||||
function createindex_plain(path, suffixes)
|
function createindex_plain(path, suffixes)
|
||||||
local controllers = { }
|
local controllers = { }
|
||||||
for _, suffix in ipairs(suffixes) do
|
for _, suffix in ipairs(suffixes) do
|
||||||
util.combine(
|
controllers = util.combine(
|
||||||
controllers,
|
controllers,
|
||||||
luci.fs.glob(path .. "*" .. suffix) or {},
|
luci.fs.glob(path .. "*" .. suffix) or {},
|
||||||
luci.fs.glob(path .. "*/*" .. suffix) or {}
|
luci.fs.glob(path .. "*/*" .. suffix) or {}
|
||||||
|
|
Loading…
Reference in a new issue