no commit message

This commit is contained in:
雨中磐石
2023-12-21 21:15:19 +08:00
parent ad77fdd196
commit 7eaf20c8fd
28 changed files with 187 additions and 53 deletions

View File

@@ -6,6 +6,7 @@ class mysqliClass extends mysql{
protected function connect()
{
$this->errormsg = '';
if(!class_exists('mysqli'))exit('操作数据库的php的扩展mysqli不存在');
$this->conn = @new mysqli($this->db_host,$this->db_user, $this->db_pass, $this->db_base);
if (mysqli_connect_errno()) {
$this->conn = null;