Browse Source

Merge branch 'master' of https://gitee.com/ZhongBangKeJi/CRMEB

evoxwht 2 years atrás
parent
commit
ac1f4957c8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      crmeb/public/install/index.php

+ 2 - 2
crmeb/public/install/index.php

@@ -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));
             }