open_document.php 258 B

1234567
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. require_once ('../inc/global.inc.php');
  4. require_once ('../inc/lib/document.lib.php');
  5. api_block_anonymous_users();
  6. DocumentManager :: file_send_for_download(api_get_path(SYS_COURSE_PATH).$_GET['file']);
  7. exit;