Merging from stable

This commit is contained in:
julmis 2005-11-17 19:33:48 +00:00
parent 9203b5a851
commit 3e7fa1f8cb

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