mirror of
https://github.com/moodle/moodle.git
synced 2025-04-27 11:23:06 +02:00
Merging from stable
This commit is contained in:
parent
9203b5a851
commit
3e7fa1f8cb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user