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
1 changed files with 0 additions and 6 deletions

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)