luci-0.10: merge r7299
This commit is contained in:
parent
e049665fe2
commit
18f89e9291
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ function createindex_plain(path, suffixes)
|
|||
if cachedate then
|
||||
local realdate = 0
|
||||
for _, obj in ipairs(controllers) do
|
||||
local omtime = fs.stat(path .. "/" .. obj, "mtime")
|
||||
local omtime = fs.stat(obj, "mtime")
|
||||
realdate = (omtime and omtime > realdate) and omtime or realdate
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue