This commit is contained in:
jakani24
2024-06-08 20:23:02 +02:00
parent 444e56d675
commit 22fc95fb70
11 changed files with 15 additions and 2 deletions

View File

@@ -29,6 +29,7 @@ $machine_location = htmlspecialchars(isset($_GET["machine_location"]) ? $_GET["m
$filter_query = "&loglevel=$loglevel&logtext=$logtext&machine_id=$machine_id&time=$time&machine_location=$machine_location";
include "../../../config.php";
include "../../../api/php/log/add_server_entry.php"; //to log things
//get data for pie chart
$conn = new mysqli($DB_SERVERNAME, $DB_USERNAME, $DB_PASSWORD, $DB_DATABASE);
if ($conn->connect_error) {