projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix fallout from nixio.fs transition
[project/luci.git]
/
libs
/
web
/
luasrc
/
template.lua
diff --git
a/libs/web/luasrc/template.lua
b/libs/web/luasrc/template.lua
index
e8f65e3
..
4971033
100644
(file)
--- a/
libs/web/luasrc/template.lua
+++ b/
libs/web/luasrc/template.lua
@@
-176,7
+176,7
@@
function Template.__init__(self, name)
local tplmt = fs.stat(sourcefile, "mtime") or fs.stat(sourcefile .. ".htm", "mtime")
local commt = fs.stat(compiledfile, "mtime")
- if not fs.
mtime(cdir
) then
+ if not fs.
stat(cdir, "mtime"
) then
fs.mkdirr(cdir)
fs.chmod(fs.dirname(cdir), 777)
end