diff options
Diffstat (limited to 'mod/file/download.php')
-rw-r--r-- | mod/file/download.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mod/file/download.php b/mod/file/download.php new file mode 100644 index 000000000..b2acdffec --- /dev/null +++ b/mod/file/download.php @@ -0,0 +1,12 @@ +<?php +/** + * Elgg file download. + * + * @package ElggFile + */ +require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); + +// Get the guid +$file_guid = get_input("file_guid"); + +forward("file/download/$file_guid"); |