MDL-24781, repository, force context-type to text/html
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user