download.php 227 B

12345678910111213
  1. <?php
  2. /**
  3. * Elgg file download.
  4. *
  5. * @package ElggFile
  6. */
  7. require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
  8. // Get the guid
  9. $file_guid = get_input("file_guid");
  10. forward("file/download/$file_guid");