critical hotfix
This commit is contained in:
1 parent
5efb8c37eb
commit
973ea32ff0
2 files changed
+3
-2
No files matched your search
@@ -60,6 +60,7 @@ class getSpecificData {
|
||||
}
|
||||
|
||||
public function getLoggingStatus($variable) {
|
||||
include_once 'DatabaseController.php';
|
||||
$status = DatabaseShow(
|
||||
"Variablen",
|
||||
"WERT",
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
|
||||
function logging() {
|
||||
include_once 'DataController.php';
|
||||
include_once 'DatabaseConnect.php';
|
||||
include_once 'DatabaseController.php';
|
||||
if ((new getSpecificData())->getLoggingStatus("GENERAL_PUBLIC_LOGGING")[0]['WERT'] == 'ON') {
|
||||
include_once 'DatabaseConnect.php';
|
||||
include_once 'DatabaseController.php';
|
||||
|
||||
$ClientIP = (new getSpecificData())->getClientIP();
|
||||
$UserAgent = (new getSpecificData())->getUserAgent();
|
||||
|
||||
Reference in new issue
Block a user