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:
parent
173a72fa46
commit
22dad4cab3
1 changed files with 84 additions and 77 deletions
7
core.php
7
core.php
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue