Authenticate user for all system actions

Wired in an additional check to verify user is authenticated before executing any code that makes changes to the system like saving settings or command execution.
This is a 2nd layer on top of the front end pages authenticating the user

Added in escaping of arguments for set date and change timezone just in case
This commit is contained in:
jaredb7
2023-05-10 23:02:11 +10:00
parent eee84587f9
commit 92bd190334
2 changed files with 103 additions and 17 deletions
+3 -2
View File
@@ -1,8 +1,9 @@
<?php
if(file_exists('./scripts/common.php')){
if (file_exists('./scripts/common.php')) {
include_once "./scripts/common.php";
}else{
} else {
include_once "./common.php";
}
//Parse the ini files to get the current config
parseConfig();