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:
f8925ee
)
* Fixed last commit
author
Steven Barth
<steven@midlink.org>
Sat, 7 Jun 2008 06:49:38 +0000
(06:49 +0000)
committer
Steven Barth
<steven@midlink.org>
Sat, 7 Jun 2008 06:49:38 +0000
(06:49 +0000)
libs/web/luasrc/template.lua
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/template.lua
b/libs/web/luasrc/template.lua
index ce54d17f31b4d39257134547626bd26626e3e3ec..a24c7ed5820501f77be18a01a5df6679d60f9eb7 100644
(file)
--- 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