Minor: Added docblock

skala
Yannick Warnier 12 years ago
parent 42eda03095
commit 0bc5240cc2
  1. 11
      main/document/file.php

@ -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');

Loading…
Cancel
Save