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

Begin work on access control. Add variable and a setting, but they aren't used yet.

This commit is contained in:
Starbeamrainbowlabs 2015-11-05 10:00:04 +00:00
parent 173a72fa46
commit 22dad4cab3

View file

@ -14,6 +14,13 @@ $env->user = "Anonymous";
$env->is_logged_in = false; $env->is_logged_in = false;
$env->is_admin = false; $env->is_admin = false;
$paths = new stdClass();
$paths->pageindex = "pageindex.json";
$paths->searchindex = "invindex.json";
$paths->idindex = "idindex.json";
$paths->upload_file_prefix = "Files/";
session_start(); session_start();
///////// Login System ///////// ///////// Login System /////////
// Clear expired sessions // Clear expired sessions