From: Andrew Dolgov Date: Wed, 10 Feb 2010 15:32:35 +0000 (+0300) Subject: increase maximum custom icon size X-Git-Tag: 1.4.1~13 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e258bceb68558f4c43e61b2e133ade4b89b6c19a;p=tt-rss.git increase maximum custom icon size --- diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 0ffecf11..fc72c01f 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -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"]);