From e80e60a6b2917132b18bd7307f4a9ceb2719c7f9 Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 17 Sep 2002 14:56:18 +0000 Subject: [PATCH] Slight fix to error page to include site name properly --- error/index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/error/index.php b/error/index.php index 7550b0825c84d..a0717d4c47456 100644 --- a/error/index.php +++ b/error/index.php @@ -12,8 +12,10 @@ redirect("$CFG->wwwroot/course/", "Message sent, thanks", 3); die; } + + $site = get_site(); - print_header("$CFG->sitename:Error", "$CFG->sitename: Error 404", "", "form.text"); + print_header("$site->fullname:Error", "$site->fullname: Error 404", "", "form.text"); print_simple_box("An unusual error occurred (tried to reach a page that doesn't exist).

$REQUEST_URI", "center", "", "$THEME->cellheading");