1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

fix for feed logo image

This commit is contained in:
Jimako 2023-06-17 22:21:14 +02:00 committed by GitHub
parent 8324e24776
commit 3e6349a5c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>