libs/web: fix file caches in dispatcher, broke when introducing lua-gz support
This commit is contained in:
parent
b848def429
commit
859a3fee88
@ -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 {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user