Fixed title of 404 pages

This commit is contained in:
Starbeamrainbowlabs 2014-12-06 19:09:52 +00:00
parent 839d7a53d7
commit 8f74299c25
1 changed files with 1 additions and 1 deletions

View File

@ -672,7 +672,7 @@ switch($_GET["action"])
{
//editing is disabled, show an error message
http_response_code(404);
exit(renderpage("<p>" . $_GET["page"] . " - $sitename", $_GET["page"] . " does not exist.</p><p>Since editing is currently disabled on this wiki, you may not create this page. If you feel that this page should exist, try contacting this wiki's Administrator.</p>"));
exit(renderpage("" . $_GET["page"] . " - 404 - $sitename", "<p>" . $_GET["page"] . " does not exist.</p><p>Since editing is currently disabled on this wiki, you may not create this page. If you feel that this page should exist, try contacting this wiki's Administrator.</p>"));
}
}
$title = $_GET["page"] . " - $sitename";