diff --git a/files/filebrowser_ajax.php b/files/filebrowser_ajax.php index e971517d6ac66..4191a2c774481 100755 --- a/files/filebrowser_ajax.php +++ b/files/filebrowser_ajax.php @@ -31,6 +31,7 @@ $action = optional_param('action', 'list', PARAM_ALPHA); +$PAGE->set_context(get_system_context()); require_login(); echo $OUTPUT->header(); // send headers