mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 05:22:59 +00:00
parent
e76eaf5963
commit
b2a783e903
2 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t
|
||||||
## Changed
|
## Changed
|
||||||
- Updated the [configuration guide](https://starbeamrainbowlabs.com/labs/peppermint/peppermint-config-info.php) to include count of how many settings we have
|
- Updated the [configuration guide](https://starbeamrainbowlabs.com/labs/peppermint/peppermint-config-info.php) to include count of how many settings we have
|
||||||
- Also send a `x-robots-tag: noindex, nofollow` HTTP header for the login page (Semrush Bot, you better obey this one)
|
- Also send a `x-robots-tag: noindex, nofollow` HTTP header for the login page (Semrush Bot, you better obey this one)
|
||||||
|
- Support `page` as either a GET parameter or a POST parameter (GET takes precedence over POST)
|
||||||
|
|
||||||
|
|
||||||
## Fixed
|
## Fixed
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
|
|
||||||
/// Finish setting up the environment object ///
|
/// Finish setting up the environment object ///
|
||||||
$env->page = $_GET["page"];
|
$env->page = $_GET["page"] ?? $_POST["page"];
|
||||||
if(isset($_GET["revision"]) and is_numeric($_GET["revision"]))
|
if(isset($_GET["revision"]) and is_numeric($_GET["revision"]))
|
||||||
{
|
{
|
||||||
// We have a revision number!
|
// We have a revision number!
|
||||||
|
|
Loading…
Reference in a new issue