From 6bc96814b9ae4cbab1030b8b2d8ce55d310ed446 Mon Sep 17 00:00:00 2001 From: liuzhen Date: Tue, 9 Oct 2018 15:31:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E8=A3=85=E6=97=B6=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E4=BF=AE=E6=94=B9MYSQL=E7=AB=AF=E5=8F=A3=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/install.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/public/install.php b/public/install.php index 26873acfd..4009bfaeb 100644 --- a/public/install.php +++ b/public/install.php @@ -95,7 +95,7 @@ if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] == 'POST') { } $err = ''; $mysqlHostname = isset($_POST['mysqlHost']) ? $_POST['mysqlHost'] : '127.0.0.1'; - $mysqlHostport = 3306; + $mysqlHostport = isset($_POST['mysqlHostport']) ? $_POST['mysqlHostport'] : 3306; $hostArr = explode(':', $mysqlHostname); if (count($hostArr) > 1) { $mysqlHostname = $hostArr[0]; @@ -374,6 +374,11 @@ if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] == 'POST') { + +
+ + +
-- Gitee