|
|
|
@ -1,5 +1,12 @@ |
|
|
|
|
<?php |
|
|
|
|
|
|
|
|
|
/* For licensing terms, see /license.txt */ |
|
|
|
|
/** |
|
|
|
|
* Document download/view script |
|
|
|
|
* @package chamilo.document |
|
|
|
|
*/ |
|
|
|
|
/** |
|
|
|
|
* Init |
|
|
|
|
*/ |
|
|
|
|
Use Model\Document; |
|
|
|
|
Use Model\Course; |
|
|
|
|
|
|
|
|
@ -151,4 +158,4 @@ foreach ($files as $file) { |
|
|
|
|
* Send file for download |
|
|
|
|
*/ |
|
|
|
|
event_download(Uri::here()); |
|
|
|
|
DocumentManager::file_send_for_download($temp_zip_path, false, get_lang('Documents') . '.zip'); |
|
|
|
|
DocumentManager::file_send_for_download($temp_zip_path, false, get_lang('Documents') . '.zip'); |
|
|
|
|