projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e049665
)
luci-0.10: merge r7299
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 18 Jul 2011 14:53:10 +0000
(14:53 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 18 Jul 2011 14:53:10 +0000
(14:53 +0000)
libs/web/luasrc/dispatcher.lua
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/dispatcher.lua
b/libs/web/luasrc/dispatcher.lua
index 28c460858d65be9d54a90f084bf53bac75656b99..4cbbe58ce0e2a770fe6b16decd9664af26184b2f 100644
(file)
--- a/
libs/web/luasrc/dispatcher.lua
+++ b/
libs/web/luasrc/dispatcher.lua
@@
-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