From e258bceb68558f4c43e61b2e133ade4b89b6c19a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 10 Feb 2010 18:32:35 +0300 Subject: [PATCH] increase maximum custom icon size --- modules/pref-feeds.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 0ffecf116..fc72c01f2 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"]);