Merge branch 'MDL-52835-master' of git://github.com/deraadt/moodle

This commit is contained in:
Dan Poltawski
2016-01-29 10:15:19 +08:00
committed by David Monllao
+1 -1
View File
@@ -38,7 +38,7 @@ if ($data = $DB->get_record('data', array('id'=>$d))) {
header('Expires: ' . gmdate("D, d M Y H:i:s", time() + $lifetime) . ' GMT');
header('Cache-control: max_age = '. $lifetime);
header('Pragma: ');
header('Content-type: text/css; charset=utf-8'); // Correct MIME type
header('Content-type: application/javascript; charset=utf-8'); // Correct MIME type.
echo $data->jstemplate;
}