diff --git a/admin/edit_settings.php b/admin/edit_settings.php index e36503a0..40f943b0 100755 --- a/admin/edit_settings.php +++ b/admin/edit_settings.php @@ -4,6 +4,7 @@ $servername = addslashes(trim($_POST['servername'])); $serveraddress = addslashes(trim($_POST['serveraddress'])); $worldport = addslashes(trim($_POST['worldport'])); + $theme = addslashes(trim($_POST['theme'])); $contact = addslashes(trim($_POST['contact'])); if (isset($_POST['show_post_frontpage'])) { $check = 1; @@ -16,7 +17,7 @@ $check2 = 0; } - $result = $mysqli_cms->query("UPDATE config SET servername='$servername', server_description='$serverDescription', serveraddress='$serveraddress', worldport='$worldport', show_post_frontpage='$check', show_latest_topic_frontpage='$check2', contact='$contact' WHERE id='1'"); + $result = $mysqli_cms->query("UPDATE config SET servername='$servername', server_description='$serverDescription', serveraddress='$serveraddress', worldport='$worldport', theme='$theme', show_post_frontpage='$check', show_latest_topic_frontpage='$check2', contact='$contact' WHERE id='1'"); echo ''; exit; } @@ -31,6 +32,23 @@
'; echo ''; @@ -75,6 +98,7 @@ echo '