From: samhemelryk Date: Thu, 15 Oct 2009 03:22:26 +0000 (+0000) Subject: error MDL-19799 Added set_url call X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=ed1dcb9dd64b24c10228916872527dafb7bf4508;p=moodle.git error MDL-19799 Added set_url call --- diff --git a/error/index.php b/error/index.php index dbe2157a54..9dac967563 100644 --- a/error/index.php +++ b/error/index.php @@ -1,4 +1,4 @@ -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');