From e8aafd31f18e1a256ffe6ea87a447141a83ccc63 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 20 Feb 2014 14:50:30 +0800 Subject: [PATCH] HTML/FlexyFramework/Generator.php --- HTML/FlexyFramework/Generator.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/HTML/FlexyFramework/Generator.php b/HTML/FlexyFramework/Generator.php index 19b31dfe..7a12dd01 100644 --- a/HTML/FlexyFramework/Generator.php +++ b/HTML/FlexyFramework/Generator.php @@ -254,8 +254,11 @@ class HTML_FlexyFramework_Generator extends DB_DataObject_Generator if (count($out)) { $ff->debug("Writing merged Links file : $iniLinksCache \n"); + $out = implode("\n", $out); + + file_put_contents($iniCacheTmp. '.links.ini', implode("\n", $out)); - if (file_exists($iniLinksCache)) { + if (file_exists($iniLinksCache)) { unlink($iniLinksCache); } rename($iniCacheTmp. '.links.ini', $iniLinksCache); -- 2.39.2