mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-26 02:55:02 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
e0f4125f34
1 changed files with 16 additions and 0 deletions
16
index.php
16
index.php
|
@ -13,6 +13,14 @@ $start_time = time(true);
|
|||
//the site's name
|
||||
$sitename = "Pepperminty Wiki";
|
||||
|
||||
//the url from which to fetch updates. Defaults to the master (development) branch If there is sufficient demand, a separate stable branch will be created.
|
||||
//currently not implemented (yet).
|
||||
$updateurl = "https://raw.githubusercontent.com/sbrl/pepperminty-wiki/master/index.php";
|
||||
|
||||
//the secret key used to perform 'dangerous' actions, like updating the wiki, and deleting pages. It is strongly advised that you change this!
|
||||
//note that neither of these features have been added yet.
|
||||
$sitesecret = "ed420502615bac9037f8f12abd4c9f02";
|
||||
|
||||
//whether people can edit the site
|
||||
$editing = true;
|
||||
|
||||
|
@ -546,6 +554,14 @@ switch($_GET["action"])
|
|||
exit(renderpage("$title - $sitename", $content));
|
||||
break;
|
||||
|
||||
case "delete":
|
||||
exit(renderpage("Deleting $pagename - $sitename", "Coming soon..."));
|
||||
break;
|
||||
|
||||
case "dodelete":
|
||||
exit("Coming soon...");
|
||||
break;
|
||||
|
||||
case "help":
|
||||
$title = "Help - $sitename";
|
||||
$content = " <h1>$sitename Help</h1>
|
||||
|
|
Loading…
Reference in a new issue