diff options
author | Steven Barth <steven@midlink.org> | 2008-06-07 06:49:38 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-06-07 06:49:38 +0000 |
commit | 92fc9cd62f680a36c02be7a9c1364cc215c7d10e (patch) | |
tree | 6c6dbeb1edaf4580345cf8eb230ccda63deea627 /libs/web/luasrc/template.lua | |
parent | f8925eefa3b487c4573da63f99f6f19292ae4297 (diff) |
* Fixed last commit
Diffstat (limited to 'libs/web/luasrc/template.lua')
-rw-r--r-- | libs/web/luasrc/template.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/web/luasrc/template.lua b/libs/web/luasrc/template.lua index ce54d17f31..a24c7ed582 100644 --- a/libs/web/luasrc/template.lua +++ b/libs/web/luasrc/template.lua @@ -159,6 +159,7 @@ function Template.__init__(self, name) if not luci.fs.mtime(compiledir) then luci.fs.mkdir(compiledir, true) + luci.fs.chmod(luci.fs.dirname(compiledir), "a+rxw") end -- Build if there is no compiled file or if compiled file is outdated |