NOBUG: Turned off zlib compression when serving javascript files.
authorSam Hemelryk <sam@moodle.com>
Fri, 5 Nov 2010 07:03:05 +0000 (07:03 +0000)
committerSam Hemelryk <sam@moodle.com>
Fri, 5 Nov 2010 07:03:05 +0000 (07:03 +0000)
lib/javascript.php

index e0fc0bd..9e19def 100644 (file)
@@ -28,6 +28,8 @@
 define('ABORT_AFTER_CONFIG', true);
 require('../config.php'); // this stops immediately at the beginning of lib/setup.php
 
 define('ABORT_AFTER_CONFIG', true);
 require('../config.php'); // this stops immediately at the beginning of lib/setup.php
 
+ini_set('zlib.output_compression', 'Off');
+
 // setup include path
 set_include_path($CFG->libdir . '/minify/lib' . PATH_SEPARATOR . get_include_path());
 require_once('Minify.php');
 // setup include path
 set_include_path($CFG->libdir . '/minify/lib' . PATH_SEPARATOR . get_include_path());
 require_once('Minify.php');