update app/install/controller/Index.php.
Signed-off-by: chzbv1984 <chzbv1984@163.com>
This commit is contained in:
@@ -140,7 +140,7 @@ class Index extends BaseController
|
|||||||
$mysql_table = @mysqli_query($connect, 'SHOW DATABASES');
|
$mysql_table = @mysqli_query($connect, 'SHOW DATABASES');
|
||||||
while ($row = @mysqli_fetch_assoc($mysql_table)) {
|
while ($row = @mysqli_fetch_assoc($mysql_table)) {
|
||||||
if ($row['Database'] == $params['database']) {
|
if ($row['Database'] == $params['database']) {
|
||||||
return $this->error('数据表已存在,请勿重复安装');
|
return $this->error('数据库已存在,请勿重复安装');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user