From e082cc4f530f88b888dd71eb4bc6d2e7489d8394 Mon Sep 17 00:00:00 2001 From: printempw Date: Sat, 19 Mar 2016 14:17:32 +0800 Subject: [PATCH] set names 'utf8' when insert options --- admin/install.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/install.php b/admin/install.php index b5e1fd9a..0044529f 100644 --- a/admin/install.php +++ b/admin/install.php @@ -3,7 +3,7 @@ * @Author: printempw * @Date: 2016-01-16 23:01:33 * @Last Modified by: printempw - * @Last Modified time: 2016-03-19 10:16:40 + * @Last Modified time: 2016-03-19 14:16:11 * * Blessing Skin Server Installer */ @@ -58,6 +58,7 @@ if ($conn->connect_error): ?>

无法连接至 MySQL 服务器,确定你在 config.php 填写的数据库信息正确吗?

详细信息:connect_error; ?>

query("SET names 'utf8'"); if (Database\Database::checkTableExist($conn)): ?>

已安装过