This commit is contained in:
jakani24
2024-06-08 20:27:47 +02:00
parent 22fc95fb70
commit 247bf4dde2
3 changed files with 3 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ if($perms[0]!=="1"){
}
//for the get_perms_str() function
include "perms_functions.php";
include "../../../api/php/log/add_server_entry.php"; //to log things
?>
<!DOCTYPE html>
<html lang="en">

View File

@@ -35,6 +35,7 @@ if ($conn->connect_error) {
}
//we store all the functions like update,safe,load etc in this file, because else "client_settings.php" will get way to big
include "client_settings_functions.php";
include "../../../api/php/log/add_server_entry.php"; //to log things
if(isset($_GET["update"])){
safe_settings();
log_action("CLIENT_SETTINGS::UPDATE::SUCCESS","User ".$_SESSION["username"]." updated some client settings.",$_SESSION["id"]);

View File

@@ -25,6 +25,7 @@ $setting_server_server_url="not configured yet";
$setting_rtp_folder_scan_status=0;
$setting_rtp_process_scan_status=0;
include "../../../config.php";
include "../../../api/php/log/add_server_entry.php"; //to log things
$conn = new mysqli($DB_SERVERNAME, $DB_USERNAME, $DB_PASSWORD,$DB_DATABASE);
if ($conn->connect_error) {
$success=0;