Attempting to fix Issue 102 again

master
Nathan Adams 2015-10-08 18:33:22 -05:00
parent 48a3125e3c
commit f6d8604dc9
1 changed files with 1 additions and 1 deletions

View File

@ -144,8 +144,8 @@ public static function render($c) {$t = $c; ?>'.$this->template_content.'<?php }
rewind($fp);
fwrite($fp, $this->template_content, strlen($this->template_content));
// Lock released, read access is possible
flock($fp, LOCK_UN);
fflush($fp);
flock($fp, LOCK_UN);
fclose($fp);
@chmod($this->compiled_template, 0777);
clearstatcache();