- 数据库结构更新准备就绪
{if $msg} -{$msg|raw}
+{$msg|raw}
{/if}
{if $code eq 0}
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 . '
{$msg|raw}
+