Merge branch 'MDL-76680/400' of https://github.com/skodak/moodle into MOODLE_400_STABLE
This commit is contained in:
@@ -827,6 +827,8 @@ if (empty($CFG->sessiontimeoutwarning)) {
|
||||
$CFG->sessiontimeoutwarning = 20 * 60;
|
||||
}
|
||||
\core\session\manager::start();
|
||||
// Prevent ignoresesskey hack from getting carried over to a next page.
|
||||
unset($USER->ignoresesskey);
|
||||
|
||||
// Set default content type and encoding, developers are still required to use
|
||||
// echo $OUTPUT->header() everywhere, anything that gets set later should override these headers.
|
||||
|
||||
Reference in New Issue
Block a user