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

Add upload=success url paramter to later

This commit is contained in:
Starbeamrainbowlabs 2015-10-22 09:03:31 +01:00
parent 26c745e59f
commit 19c4e36754
3 changed files with 3 additions and 3 deletions

View file

@ -1347,7 +1347,7 @@ register_module([
// Save the pageindex
file_put_contents("pageindex.json", json_encode($pageindex, JSON_PRETTY_PRINT));
header("location: ?action=view&page=$new_filename");
header("location: ?action=view&page=$new_filename&upload=success");
break;
}

View file

@ -50,7 +50,7 @@
"author": "Starbeamrainbowlabs",
"description": "Adds the ability to upload files to Pepperminty Wiki. Uploaded files act as pages and have the special 'File:' prefix.",
"id": "feature-upload",
"lastupdate": 1445500627,
"lastupdate": 1445500988,
"optional": false
},
{

View file

@ -126,7 +126,7 @@ register_module([
// Save the pageindex
file_put_contents("pageindex.json", json_encode($pageindex, JSON_PRETTY_PRINT));
header("location: ?action=view&page=$new_filename");
header("location: ?action=view&page=$new_filename&upload=success");
break;
}