if (file_exists($iniCache)) {
unlink($iniCache);
}
+ $this->debug("Writing merged ini file : $iniCache\n");
rename($iniCacheTmp, $iniCache);
}
if (file_exists($iniCache.'.reader')) {
unlink($iniCache.'.reader');
}
+ $this->debug("Writing merged reader file : $iniCache.reader\n");
rename($iniCacheTmp.'.reader', $iniCache.'.reader');
}
$out[] = '';
}
if (count($out)) {
+ $this->debug("Writing merged Links file : $iniLinksCache \n");
+
file_put_contents($iniLinksCache. '.tmp', implode("\n", $out));
if (file_exists($iniLinksCache)) {
unlink($iniLinksCache);