increase maximum custom icon size

This commit is contained in:
Andrew Dolgov 2010-02-10 18:32:35 +03:00
parent d43f783775
commit e258bceb68
1 changed files with 1 additions and 1 deletions

View File

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