mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 21:35:56 +00:00
do not try to calculate icon avg color if GD is not present
This commit is contained in:
@@ -424,7 +424,7 @@
|
||||
check_feed_favicon($site_url, $feed, $link);
|
||||
$favicon_file = ICONS_DIR . "/$feed.ico";
|
||||
|
||||
if (file_exists($favicon_file)) {
|
||||
if (file_exists($favicon_file) && function_exists("imagecreatefromstring")) {
|
||||
require_once "colors.php";
|
||||
|
||||
$favicon_color = db_escape_string(
|
||||
|
||||
Reference in New Issue
Block a user