Merge branch 'wip-mdl-41418' of git://github.com/rajeshtaneja/moodle

This commit is contained in:
Dan Poltawski 2013-09-04 10:38:10 +08:00
commit 7e2a4e1638

View File

@ -49,9 +49,9 @@
header("Status: 404 Not Found");
$PAGE->set_url('/error/');
$PAGE->set_context(context_system::instance());
$PAGE->set_title($site->fullname .':Error');
$PAGE->set_heading($site->fullname .': Error 404');
$PAGE->set_context(context_system::instance());
$PAGE->navbar->add('Error 404 - File not Found');
echo $OUTPUT->header();
echo $OUTPUT->box(get_string('pagenotexist', 'error'). '<br />'.s($requesturi), 'generalbox boxaligncenter');