mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-04 13:35:13 +02:00
[ticket/12570] Keep MySQLi procedural
PHPBB3-12570
This commit is contained in:
parent
275e56ce70
commit
fcdf1101cb
@ -57,8 +57,8 @@ class mysqli extends \phpbb\db\driver\mysql_base
|
||||
}
|
||||
}
|
||||
|
||||
$this->db_connect_id = @mysqli_init();
|
||||
$this->db_connect_id->real_connect($this->server, $this->user, $sqlpassword, $this->dbname, $port, $socket, MYSQLI_CLIENT_FOUND_ROWS);
|
||||
$this->db_connect_id = mysqli_init();
|
||||
@mysqli_real_connect($this->db_connect_id, $this->server, $this->user, $sqlpassword, $this->dbname, $port, $socket, MYSQLI_CLIENT_FOUND_ROWS);
|
||||
|
||||
if ($this->db_connect_id && $this->dbname != '')
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user