increase maximum custom icon size
This commit is contained in:
parent
d43f783775
commit
e258bceb68
|
@ -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"]);
|
||||||
|
|
Loading…
Reference in New Issue