mirror of
https://github.com/ZeroDream-CN/PHPMC7
synced 2026-05-16 10:33:02 +08:00
增加内置语言,修复bug
修复安装程序bug 增加新的语言:中文繁体 / 俄罗斯语 英语翻译修正 by Kevin
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ if($result == "") {
|
||||
$db = Config::MySQL();
|
||||
$conn = mysqli_connect($db['host'], $db['user'], $db['pass'], $db['name'], $db['port']);
|
||||
mysqli_query($conn, "set names 'utf8mb4'");
|
||||
mysqli_query($conn, "INSERT INTO `option` VALUES ('4', 'Lang', 'zh_CN')");
|
||||
mysqli_query($conn, "INSERT INTO `option` VALUES (NULL, 'Lang', 'zh_CN')");
|
||||
$result = "zh_CN";
|
||||
mysqli_close($conn);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user