From 064da3da9c5395c4f1fecea5a32ad9005179f3f3 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Sun, 5 Apr 2020 13:47:32 +0800 Subject: [PATCH] timezone setting --- platform/normal.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/platform/normal.php b/platform/normal.php index d944975..07bca30 100644 --- a/platform/normal.php +++ b/platform/normal.php @@ -119,7 +119,8 @@ function install() if ($_GET['install2']) { if ($_POST['admin']!='') { $tmp['admin'] = $_POST['admin']; - $tmp['language'] = $_POST['language']; + $tmp['language'] = $_COOKIE['language']; + $tmp['timezone'] = $_COOKIE['timezone']; $response = setConfig($tmp); if (api_error($response)) { $html = api_error_msg($response); @@ -149,6 +150,12 @@ function install()