MDL-51603 report_log: Allow streaming downloads

This commit is contained in:
Brendan Heywood
2016-04-20 12:39:29 +10:00
parent 5684cc2d1e
commit 1e29afd4ea
+4
View File
@@ -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');