Merge branch '1.10.x' of github.com:chamilo/chamilo-lms into 1.10.x

1.10.x
Julio Montoya 9 years ago
commit 070a89c0de
  1. 3
      main/document/download.php

@ -100,6 +100,7 @@ if (Security::check_abs_path($sys_course_path.$doc_url, $sys_course_path.'/')) {
}
// Launch event
Event::event_download($doc_url);
DocumentManager::file_send_for_download($full_file_name);
$download = (!empty($_GET['dl']) ? true : false);
DocumentManager::file_send_for_download($full_file_name, $download);
}
exit;

Loading…
Cancel
Save