Skip to content

Commit

Permalink
Commenting out gz_handler since it seem to cause problems
Browse files Browse the repository at this point in the history
  • Loading branch information
julmis committed Nov 17, 2005
1 parent 5ebb4f2 commit 176ff2b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/editor/htmlarea.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@
$lastmodified = filemtime("htmlarea.php"); $lastmodified = filemtime("htmlarea.php");
$lifetime = 1800; $lifetime = 1800;


if ( function_exists('ob_gzhandler') ) { // Commenting this out since it's creating problems
ob_start("ob_gzhandler"); // 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'); $charset = get_string('thischarset');
header("Content-type: application/x-javascript; charset: $charset"); // Correct MIME type header("Content-type: application/x-javascript; charset: $charset"); // Correct MIME type
Expand Down

0 comments on commit 176ff2b

Please sign in to comment.