MDL-51603 dataformats: coding_exception if output buffering

This commit is contained in:
David Monllao 2016-04-21 14:47:09 +08:00
parent 5b95105600
commit 9df4ae4189
4 changed files with 5 additions and 10 deletions

View file

@ -22,10 +22,6 @@
* @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');