1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-27 01:31:29 +00:00

increase maximum custom icon size

This commit is contained in:
Andrew Dolgov
2010-02-10 18:32:35 +03:00
parent d43f783775
commit e258bceb68

View File

@@ -33,7 +33,7 @@
$feed_id = db_escape_string($_REQUEST["feed_id"]);
if (is_file($icon_file) && $feed_id) {
if (filesize($icon_file) < 2000) {
if (filesize($icon_file) < 20000) {
$result = db_query($link, "SELECT id FROM ttrss_feeds
WHERE id = '$feed_id' AND owner_uid = ". $_SESSION["uid"]);