mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
error MDL-19799 Added set_url call
This commit is contained in:
parent
8e7328a292
commit
ed1dcb9dd6
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user