Skip to content

Commit

Permalink
fix permission for css file render close #149
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-peugnet committed Oct 31, 2021
1 parent ed100ad commit a56bbd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/class/Modelrender.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ public function elementparser(Element $element)
public function write(string $html)
{
self::writefile(self::HTML_RENDER_DIR . $this->page->id() . '.html', $html);
self::writefile(self::RENDER_DIR . $this->page->id() . '.css', $this->page->css());
self::writefile(self::RENDER_DIR . $this->page->id() . '.css', $this->page->css(), 0664);
//self::writefile(self::RENDER_DIR . $this->page->id() . '.quick.css', $this->page->quickcss());
self::writefile(self::RENDER_DIR . $this->page->id() . '.js', $this->page->javascript());
self::writefile(self::RENDER_DIR . $this->page->id() . '.js', $this->page->javascript(), 0664);
}


Expand Down

0 comments on commit a56bbd7

Please sign in to comment.