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/file/enclosure.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/views/rss/file/enclosure.php b/mod/file/views/rss/file/enclosure.php
index 600d287ef..fb4a899d9 100644
--- a/mod/file/views/rss/file/enclosure.php
+++ b/mod/file/views/rss/file/enclosure.php
@@ -6,7 +6,7 @@
*/
if (elgg_instanceof($vars['entity'], 'object', 'file')) {
- $download_url = elgg_get_site_url() . 'mod/file/download.php?file_guid=' . $vars['entity']->getGUID();
+ $download_url = elgg_get_site_url() . 'file/download/' . $vars['entity']->getGUID();
$size = $vars['entity']->size();
$mime_type = $vars['entity']->getMimeType();
echo <<<END