a
This commit is contained in:
@@ -20,6 +20,7 @@ if($perms[0]!=="1"){
|
|||||||
}
|
}
|
||||||
//for the get_perms_str() function
|
//for the get_perms_str() function
|
||||||
include "perms_functions.php";
|
include "perms_functions.php";
|
||||||
|
include "../../../api/php/log/add_server_entry.php"; //to log things
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|||||||
@@ -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
|
//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 "client_settings_functions.php";
|
||||||
|
include "../../../api/php/log/add_server_entry.php"; //to log things
|
||||||
if(isset($_GET["update"])){
|
if(isset($_GET["update"])){
|
||||||
safe_settings();
|
safe_settings();
|
||||||
log_action("CLIENT_SETTINGS::UPDATE::SUCCESS","User ".$_SESSION["username"]." updated some client settings.",$_SESSION["id"]);
|
log_action("CLIENT_SETTINGS::UPDATE::SUCCESS","User ".$_SESSION["username"]." updated some client settings.",$_SESSION["id"]);
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ $setting_server_server_url="not configured yet";
|
|||||||
$setting_rtp_folder_scan_status=0;
|
$setting_rtp_folder_scan_status=0;
|
||||||
$setting_rtp_process_scan_status=0;
|
$setting_rtp_process_scan_status=0;
|
||||||
include "../../../config.php";
|
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);
|
$conn = new mysqli($DB_SERVERNAME, $DB_USERNAME, $DB_PASSWORD,$DB_DATABASE);
|
||||||
if ($conn->connect_error) {
|
if ($conn->connect_error) {
|
||||||
$success=0;
|
$success=0;
|
||||||
|
|||||||
Reference in New Issue
Block a user