update app/install/controller/Index.php.

Signed-off-by: chzbv1984 <chzbv1984@163.com>
This commit is contained in:
chzbv1984
2022-08-23 08:18:34 +00:00
committed by Gitee
parent 4571fef039
commit c6c1c2c674

View File

@@ -140,7 +140,7 @@ class Index extends BaseController
$mysql_table = @mysqli_query($connect, 'SHOW DATABASES');
while ($row = @mysqli_fetch_assoc($mysql_table)) {
if ($row['Database'] == $params['database']) {
return $this->error('数据已存在,请勿重复安装');
return $this->error('数据已存在,请勿重复安装');
}
}