From 176ff2b517e44c887a44239056d4d752b25c6749 Mon Sep 17 00:00:00 2001 From: julmis Date: Thu, 17 Nov 2005 19:30:50 +0000 Subject: [PATCH] Commenting out gz_handler since it seem to cause problems more on http://moodle.org/mod/forum/discuss.php?d=34376 --- lib/editor/htmlarea.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/editor/htmlarea.php b/lib/editor/htmlarea.php index 2c74eb3bd11..b0022907a6c 100644 --- a/lib/editor/htmlarea.php +++ b/lib/editor/htmlarea.php @@ -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