a
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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"]);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user