1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-06-01 09:53:02 +00:00

Fixed title of 404 pages

This commit is contained in:
Starbeamrainbowlabs 2014-12-06 19:09:52 +00:00
parent 839d7a53d7
commit 8f74299c25

View file

@ -672,7 +672,7 @@ switch($_GET["action"])
{ {
//editing is disabled, show an error message //editing is disabled, show an error message
http_response_code(404); 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"; $title = $_GET["page"] . " - $sitename";