瀏覽代碼

Update index.php

tags/6.1.8
tianya 2 年之前
父節點
當前提交
b729125096
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. +4
    -1
      src/install/index.php

+ 4
- 1
src/install/index.php 查看文件

@@ -17,7 +17,7 @@ $verMsg = 'V6';
$dfDbname = 'DedeBIZ';
$cfg_version_detail = '6.1.8'; //详细版本号
$errmsg = '';
if (version_compare(PHP_VERSION, '8.0.0', '>=')) {
if (version_compare(PHP_VERSION, '8.0.0', '>=') && function_exists("mysqli_report")) {
mysqli_report(MYSQLI_REPORT_OFF);
}
define('DEDEINC',dirname(__FILE__).'/../system');
@@ -55,6 +55,9 @@ if($step==1)
if (!function_exists('mysqli_connect')) {
$arrMsg[] = "MySQL不支持,将无法使用本系统";
}
if (!extension_loaded("sqlite3")) {
$arrMsg[] = "SQLite3未开启,将无法正常使用SQLite数据库";
}
if (!extension_loaded("gd")) {
$arrMsg[] = "GD未开启,将无法使用验证码、二维码、图片水印等功能";
}


Loading…
取消
儲存