1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:25:57 +00:00

images moved to subdirectory, updated TODO

This commit is contained in:
Andrew Dolgov
2005-08-25 11:28:54 +01:00
parent 899244ef4d
commit e695fdc83e
8 changed files with 26 additions and 8 deletions

View File

@@ -35,7 +35,7 @@
$icon_file = ICONS_DIR . "/$feed.ico";
if (!file_exists($icon_file)) {
error_reporting(0);
$r = fopen($icon_url, "r");
error_reporting (E_ERROR | E_WARNING | E_PARSE);
@@ -53,7 +53,11 @@
fclose($r);
fclose($t);
rename($tmpfname, $icon_file);
error_reporting(0);
if (!rename($tmpfname, $icon_file)) {
unlink($tmpfname);
}
error_reporting (E_ERROR | E_WARNING | E_PARSE);
}
}