diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-07-19 00:38:52 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-07-19 00:38:52 +0000 |
commit | 074b5dfc4ab98edaaec7133fa03f505686c9f357 (patch) | |
tree | 3d58d5748c3cd4b71769601419beffb27d4e6d2d /libs/web | |
parent | 8fcd841aa9af96c8a4a4d3c1a555d2d1ed42332c (diff) |
fix fallout from nixio.fs transition
Diffstat (limited to 'libs/web')
-rw-r--r-- | libs/web/luasrc/template.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/template.lua b/libs/web/luasrc/template.lua index e8f65e3be..4971033a2 100644 --- 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 |