From 7efbd8abb4aa4492f95832e31280209b0a8942a2 Mon Sep 17 00:00:00 2001 From: wispx <1591788658@qq.com> Date: Thu, 3 Jan 2019 12:02:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/Install.php | 2 +- application/index/view/install/update.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/index/controller/Install.php b/application/index/controller/Install.php index 1a5c942d..1cf6ec48 100644 --- a/application/index/controller/Install.php +++ b/application/index/controller/Install.php @@ -245,7 +245,7 @@ EOT; foreach (explode(';', $file) as $value) { if ($value && !ctype_space($value)) { if (!$mysqli->query($value . ';')) { - throw new Exception('数据导入失败,错误信息:' . $mysqli->error . ',sql语句:' . $value); + throw new Exception('

数据导入失败!

错误信息:
' . $mysqli->error . '

sql语句:
' . $value . '

'); } } } diff --git a/application/index/view/install/update.html b/application/index/view/install/update.html index a1fda2dc..4551795e 100644 --- a/application/index/view/install/update.html +++ b/application/index/view/install/update.html @@ -34,7 +34,7 @@

- 数据库结构更新准备就绪

{if $msg} -

{$msg|raw}

+
{$msg|raw}
{/if} {if $code eq 0}