From f6d8604dc91a8490c206ee93f31cc0b02fcf5859 Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Thu, 8 Oct 2015 18:33:22 -0500 Subject: [PATCH] Attempting to fix Issue 102 again --- pluf/src/Pluf/Template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();