Browse files

Slight fix to error page to include site name properly

  • Loading branch information...
1 parent 76dbe04 commit e80e60a6b2917132b18bd7307f4a9ceb2719c7f9 martin committed Sep 17, 2002
Showing with 3 additions and 1 deletion.
  1. +3 −1 error/index.php
View
4 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).<P align=center>$REQUEST_URI", "center", "", "$THEME->cellheading");

0 comments on commit e80e60a

Please sign in to comment.