]> git.wh0rd.org Git - tt-rss.git/commitdiff
increase maximum custom icon size
authorAndrew Dolgov <fox@bah.org.ru>
Wed, 10 Feb 2010 15:32:35 +0000 (18:32 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Wed, 10 Feb 2010 15:32:35 +0000 (18:32 +0300)
modules/pref-feeds.php

index 0ffecf1161d7b835ac4843b3f33967837f30b107..fc72c01f204d2e8e87c1c07555301a6baa4c930f 100644 (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"]);