1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-23 01:55:01 +00:00

copied change from index.php to the correct place

Why do I keep editing the wrong file?
This commit is contained in:
Starbeamrainbowlabs 2015-01-22 10:04:04 +00:00
parent dbe9155367
commit 438a7a7cef

View file

@ -386,12 +386,6 @@ switch($_GET["action"])
* %edit%
*/
case "edit":
if(!$editing)
{
http_response_code(203);
header("location: index.php?page=$page");
}
$filename = "$page.md";
$creatingpage = !isset($pageindex->$page);
if((isset($_GET["newpage"]) and $_GET["newpage"] == "true") or $creatingpage)