Attempting to fix Issue 102 again
This commit is contained in:
parent
48a3125e3c
commit
f6d8604dc9
@ -144,8 +144,8 @@ public static function render($c) {$t = $c; ?>'.$this->template_content.'<?php }
|
|||||||
rewind($fp);
|
rewind($fp);
|
||||||
fwrite($fp, $this->template_content, strlen($this->template_content));
|
fwrite($fp, $this->template_content, strlen($this->template_content));
|
||||||
// Lock released, read access is possible
|
// Lock released, read access is possible
|
||||||
flock($fp, LOCK_UN);
|
|
||||||
fflush($fp);
|
fflush($fp);
|
||||||
|
flock($fp, LOCK_UN);
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
@chmod($this->compiled_template, 0777);
|
@chmod($this->compiled_template, 0777);
|
||||||
clearstatcache();
|
clearstatcache();
|
||||||
|
Loading…
Reference in New Issue
Block a user