error MDLSITE-1008 Fixed missing set_context call in error/index.php

This commit is contained in:
Sam Hemelryk
2010-10-04 04:52:02 +00:00
parent 18e632593f
commit b276cf9ed1
+1
View File
@@ -48,6 +48,7 @@
$PAGE->set_url('/error/');
$PAGE->set_title($site->fullname .':Error');
$PAGE->set_heading($site->fullname .': Error 404');
$PAGE->set_context(get_system_context());
$PAGE->navbar->add('Error 404 - File not Found');
echo $OUTPUT->header();
echo $OUTPUT->box(get_string('pagenotexist', 'error'). '<br />'.s($requesturi), 'generalbox boxaligncenter');