From 69f74da711aff2b88de07722ea39c93e64e052b2 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Fri, 27 Mar 2020 09:49:57 +0800 Subject: [PATCH] fix install language --- function/normal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function/normal.php b/function/normal.php index 1e4e0d7..68a9afb 100644 --- a/function/normal.php +++ b/function/normal.php @@ -118,7 +118,7 @@ function install() if ($_GET['install2']) { if ($_POST['admin']!='') { $tmp['admin'] = $_POST['admin']; - $tmp['language'] = $_POST['language']; + $tmp['language'] = $_COOKIE['language']; $response = setConfig($tmp); if (api_error($response)) { $html = api_error_msg($response);