1
0
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:
2018-10-20 04:41:34 +08:00
Unverified
parent 32b3c1f86f
commit 4a2dedde78
5 changed files with 352 additions and 86 deletions
+1 -1
View File
@@ -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);
}