MDL-20723 workaround for zlib compressed scripts

This commit is contained in:
Petr Skoda 2009-11-08 22:23:05 +00:00
parent e5180580c8
commit 446e2634d4

View File

@ -5,6 +5,11 @@ require_once('../config.php');
require_once($CFG->dirroot.'/course/lib.php');
require_once($CFG->libdir.'/adminlib.php');
// workaround for problems with compression
if (ini_get('zlib.output_compression')) {
@ini_set('zlib.output_compression', 'Off');
}
admin_externalpage_setup('replace');
$search = optional_param('search', '', PARAM_RAW);