Commenting out gz_handler since it seem to cause problems

more on http://moodle.org/mod/forum/discuss.php?d=34376
This commit is contained in:
julmis
2005-11-17 19:30:50 +00:00
parent 5ebb4f2d42
commit 176ff2b517
+6 -3
View File
@@ -6,9 +6,12 @@
$lastmodified = filemtime("htmlarea.php");
$lifetime = 1800;
if ( function_exists('ob_gzhandler') ) {
ob_start("ob_gzhandler");
}
// Commenting this out since it's creating problems
// where solution seem to be hard to find...
// http://moodle.org/mod/forum/discuss.php?d=34376
//if ( function_exists('ob_gzhandler') ) {
// ob_start("ob_gzhandler");
//}
$charset = get_string('thischarset');
header("Content-type: application/x-javascript; charset: $charset"); // Correct MIME type