mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-03 08:20:36 +00:00
【程序目录】修改安装不在检测数据库版本
This commit is contained in:
parent
23c7666986
commit
ca903161ec
@ -254,8 +254,8 @@ switch ($step) {
|
||||
}
|
||||
mysqli_set_charset($conn, "utf8"); //,character_set_client=binary,sql_mode='';
|
||||
$version = mysqli_get_server_info($conn);
|
||||
if ($version < 5.7 || $version >= 5.8) {
|
||||
$arr['msg'] = '数据库版本必须是5.7版本';
|
||||
if ($version < 5.1) {
|
||||
$arr['msg'] = '数据库版本太低! 必须5.1以上';
|
||||
exit(json_encode($arr));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user