HTML/FlexyFramework/Generator.php
authorAlan Knowles <alan@roojs.com>
Thu, 19 Dec 2013 06:43:28 +0000 (14:43 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 19 Dec 2013 06:43:28 +0000 (14:43 +0800)
HTML/FlexyFramework/Generator.php

index 104b9be..19b31df 100644 (file)
@@ -202,7 +202,8 @@ class HTML_FlexyFramework_Generator extends DB_DataObject_Generator
         $linksCacheTmp = preg_replace('/\.ini/', '.links.ini', $iniCacheTmp );
         $links = array();
         if (file_exists($linksCacheTmp )) {
-            $links = self::mergeIni( parse_ini_file($linksCacheTmp, true), $links);   
+            $links = self::mergeIni( parse_ini_file($linksCacheTmp, true), $links);
+            unlink($linksCacheTmp);
         }
         // we are going to use the DataObject directories..