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}