Skip to content

Commit

Permalink
Fix for incorrect rss feed url
Browse files Browse the repository at this point in the history
  • Loading branch information
eSilverStrike committed Jan 9, 2017
1 parent 1d535e8 commit 5838daf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system/lib-syndication.php
Expand Up @@ -633,6 +633,7 @@ function SYND_getFeedUrl($feedFile = '')

$feedPath = SYND_getFeedPath();
$url = substr_replace($feedPath, $_CONF['site_url'], 0, strlen($_CONF['path_html']) - 1);
$url = str_replace($url, DIRECTORY_SEPARATOR, '/'); // Need to do this for file will contain wrong backslash
$url .= $feedFile;

return $url;
Expand Down

0 comments on commit 5838daf

Please sign in to comment.