Browse Source

强制使用mysqli_connect, mysql_connect被遗弃了

tags/6.0.2
show 2 months ago
parent
commit
fca196c3ac
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/install/index.php

+ 1
- 1
src/install/index.php View File

@@ -71,7 +71,7 @@ else if($step==2)
$sp_allow_url_fopen = (ini_get('allow_url_fopen') ? '<font color=green>[√]On</font>' : '<font color=red>[×]Off</font>');
$sp_safe_mode = (ini_get('safe_mode') ? '<font color=red>[×]On</font>' : '<font color=green>[√]Off</font>');
$sp_gd = ($sp_gd>0 ? '<font color=green>[√]On</font>' : '<font color=red>[×]Off</font>');
$sp_mysql = (function_exists('mysql_connect') ? '<font color=green>[√]On</font>' : '<font color=red>[×]Off</font>');
$sp_mysql = (function_exists('mysqli_connect') ? '<font color=green>[√]On</font>' : '<font color=red>[×]Off</font>');

if($sp_mysql=='<font color=red>[×]Off</font>')
$sp_mysql_err = TRUE;


Loading…
Cancel
Save