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:
+3
-2
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user