aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views/rss
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/views/rss')
-rw-r--r--mod/file/views/rss/object/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/views/rss/object/file.php b/mod/file/views/rss/object/file.php
index b7f8c9f13..52d26382f 100644
--- a/mod/file/views/rss/object/file.php
+++ b/mod/file/views/rss/object/file.php
@@ -22,5 +22,5 @@
<link><?php echo $vars['entity']->getURL(); ?></link>
<title><![CDATA[<?php echo $title; ?>]]></title>
<description><![CDATA[<?php echo (autop($vars['entity']->description)); ?>]]></description>
- <enclosure url="<?php echo $vars['url']; ?>mod/file/download.php?file_guid=<?php echo $vars['entity']->getGUID(); ?>" length="<?php echo $vars['entity']->size(); ?>" type="<?php echo $vars['entity']->getMimeType(); ?>" />
+ <enclosure url="<?php echo elgg_get_site_url(); ?>mod/file/download.php?file_guid=<?php echo $vars['entity']->getGUID(); ?>" length="<?php echo $vars['entity']->size(); ?>" type="<?php echo $vars['entity']->getMimeType(); ?>" />
</item>