mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-24781, repository, force context-type to text/html
This commit is contained in:
parent
76f062cd25
commit
1b6a86bf73
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user