MDL-51603 report_log: Allow streaming downloads
This commit is contained in:
@@ -22,6 +22,10 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
if (!empty($_GET['download'])) {
|
||||
define('NO_OUTPUT_BUFFERING', true);
|
||||
}
|
||||
|
||||
require('../../config.php');
|
||||
require_once($CFG->dirroot.'/course/lib.php');
|
||||
require_once($CFG->dirroot.'/report/log/locallib.php');
|
||||
|
||||
Reference in New Issue
Block a user