projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
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
ce54d17
..
a24c7ed
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