mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-51603 report_log: Allow streaming downloads
This commit is contained in:
parent
5684cc2d1e
commit
1e29afd4ea
@ -22,6 +22,10 @@
|
|||||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
* @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('../../config.php');
|
||||||
require_once($CFG->dirroot.'/course/lib.php');
|
require_once($CFG->dirroot.'/course/lib.php');
|
||||||
require_once($CFG->dirroot.'/report/log/locallib.php');
|
require_once($CFG->dirroot.'/report/log/locallib.php');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user