critical hotfix

This commit is contained in:
Tower committed 2026-02-21 15:24:50 +01:00
1 parent 5efb8c37eb
commit 973ea32ff0
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -60,6 +60,7 @@ class getSpecificData {
}
public function getLoggingStatus($variable) {
include_once 'DatabaseController.php';
$status = DatabaseShow(
"Variablen",
"WERT",
+2 -2
View File
@@ -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();