Skip to content

Commit

Permalink
Merge pull request #5015 from Jimmi08/patch-7
Browse files Browse the repository at this point in the history
Fixes #4866 RSS logo image
  • Loading branch information
CaMer0n authored Aug 14, 2023
2 parents 3c571a8 + 3e6349a commit 4eafc42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e107_plugins/rss_menu/rss.php
Original file line number Diff line number Diff line change
Expand Up @@ -502,10 +502,12 @@ function buildRss($rss_title)

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>
Expand Down

0 comments on commit 4eafc42

Please sign in to comment.