1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-25 00:41:52 +02:00

Merge pull request #5015 from Jimmi08/patch-7

Fixes #4866 RSS logo image
This commit is contained in:
Cameron
2023-08-14 10:00:16 -07:00
committed by GitHub

View File

@@ -502,10 +502,12 @@ class rssCreate
if (trim(SITEBUTTON))
{
$path = e107::getConfig()->get('sitebutton');
$imgPath = e107::getParser()->thumbUrl($path, array(), false, true);
echo "
<image>
<title>".$tp->toRss($rss_title)."</title>
<url>".(strpos(SITEBUTTON, "http:") !== false ? SITEBUTTON : SITEURL.str_replace("../", "",SITEBUTTON))."</url>
<url>" . $imgPath . "</url>
<link>".$pref['siteurl']."</link>
<width>88</width>
<height>31</height>