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:
parent
dbe9155367
commit
438a7a7cef
1 changed files with 0 additions and 6 deletions
6
core.php
6
core.php
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue