Permalink
Browse files

MDL-20723 workaround for zlib compressed scripts; backported from HEAD

  • Loading branch information...
1 parent c88a1f7 commit b3640ec473dee28760f751d3b75192874ebb8766 @skodak skodak committed Nov 8, 2009
Showing with 5 additions and 0 deletions.
  1. +5 −0 admin/replace.php
View
@@ -5,6 +5,11 @@
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);

0 comments on commit b3640ec

Please sign in to comment.