diff --git a/pluf/src/Pluf/Template.php b/pluf/src/Pluf/Template.php index 5ea86a1..f0e97be 100644 --- a/pluf/src/Pluf/Template.php +++ b/pluf/src/Pluf/Template.php @@ -144,8 +144,8 @@ public static function render($c) {$t = $c; ?>'.$this->template_content.'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();