* Fixed last commit
This commit is contained in:
parent
f8925eefa3
commit
92fc9cd62f
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ function Template.__init__(self, name)
|
||||||
|
|
||||||
if not luci.fs.mtime(compiledir) then
|
if not luci.fs.mtime(compiledir) then
|
||||||
luci.fs.mkdir(compiledir, true)
|
luci.fs.mkdir(compiledir, true)
|
||||||
|
luci.fs.chmod(luci.fs.dirname(compiledir), "a+rxw")
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Build if there is no compiled file or if compiled file is outdated
|
-- Build if there is no compiled file or if compiled file is outdated
|
||||||
|
|
Loading…
Reference in a new issue