mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 05:22:59 +00:00
Add upload=success url paramter to later
This commit is contained in:
parent
26c745e59f
commit
19c4e36754
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
},
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue