Skip to content

Commit

Permalink
Slight fix to error page to include site name properly
Browse files Browse the repository at this point in the history
  • Loading branch information
martin committed Sep 17, 2002
1 parent 76dbe04 commit e80e60a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion error/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit e80e60a

Please sign in to comment.