aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views/rss
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-05 15:43:50 -0400
committercash <cash.costello@gmail.com>2011-11-05 15:43:50 -0400
commit272ac7519214f1b75d4b71247438612af8c86643 (patch)
tree08286498ec81f5783b58f5042ccf033399647405 /mod/file/views/rss
parent2d8d81df30e4a7ee65caf9469ba0cc486d494f29 (diff)
downloadelgg-272ac7519214f1b75d4b71247438612af8c86643.tar.gz
elgg-272ac7519214f1b75d4b71247438612af8c86643.tar.bz2
Fixes #4048 using page handler for file downloads
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