error MDL-19799 Added set_url call

This commit is contained in:
samhemelryk 2009-10-15 03:22:26 +00:00
parent 8e7328a292
commit ed1dcb9dd6

View File

@ -1,4 +1,4 @@
<?PHP // $Id$
<?php
require('../config.php');
require_once($CFG->libdir.'/eventslib.php');
@ -45,6 +45,7 @@
header("HTTP/1.0 404 Not Found");
header("Status: 404 Not Found");
$PAGE->set_url(new moodle_url($CFG->wwwroot.'/error/'));
$PAGE->set_title($site->fullname .':Error');
$PAGE->set_heading($site->fullname .': Error 404');
$PAGE->navbar->add('Error 404 - File not Found');