MDL-24781, repository, force context-type to text/html

This commit is contained in:
Dongsheng Cai 2010-11-08 02:42:28 +00:00
parent 76f062cd25
commit 1b6a86bf73

View File

@ -57,6 +57,7 @@ require_login($course, false, $cm);
$PAGE->set_context($context);
echo $OUTPUT->header(); // send headers
@header('Content-type: text/html');
if (!confirm_sesskey()) {
$err->error = get_string('invalidsesskey');