Merge remote-tracking branch 'origin/master'

This commit is contained in:
Starbeamrainbowlabs 2014-12-25 20:31:44 +00:00
commit e0f4125f34
1 changed files with 16 additions and 0 deletions

View File

@ -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>