Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
tianya committed Apr 17, 2022
1 parent 4df3e0a commit b729125
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
$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');
Expand Down Expand Up @@ -55,6 +55,9 @@ function _1_Agreement()
if (!function_exists('mysqli_connect')) {
$arrMsg[] = "MySQL不支持,将无法使用本系统";
}
if (!extension_loaded("sqlite3")) {
$arrMsg[] = "SQLite3未开启,将无法正常使用SQLite数据库";
}
if (!extension_loaded("gd")) {
$arrMsg[] = "GD未开启,将无法使用验证码、二维码、图片水印等功能";
}
Expand Down

0 comments on commit b729125

Please sign in to comment.