diff --git a/index.php b/index.php index fa3c583..4c5154a 100755 --- a/index.php +++ b/index.php @@ -200,7 +200,8 @@ if(makepathsafe($_GET["page"]) !== $_GET["page"]) { http_response_code(301); header("location: index.php?action=" . rawurlencode($_GET["action"]) . "&page=" . makepathsafe($_GET["page"])); - header("x-page: " . makepathsafe($_GET["page"]) . " / " . $_GET["page"]); + header("x-requested-page: " . $_GET["page"]); + header("x-actual-page: " . makepathsafe($_GET["page"])); exit(); } @@ -615,7 +616,7 @@ switch($_GET["action"]) case "credits": $title = "Credits - $sitename"; $content = "

$sitename credits

-

$sitename is powered by Pepperminty Wiki - An entire wiki packed inside a single file, which was built by Starbeamrainbowlabs, and can be found on github.

+

$sitename is powered by Pepperminty Wiki - an entire wiki packed inside a single file, which was built by Starbeamrainbowlabs, and can be found on github.

A slightly modified version of slimdown is used to parse text source into HTML. Slimdown is by Johnny Broadway, which can be found on github.

The default favicon is from Open Clipart by bluefrog23, and can be found here.

"; exit(renderpage($title, $content));