mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-15 20:49:41 +01:00
Turns mysqli reporting off
Turns mysqli reporting off to be compatible with PHP versions >= 8.1
This commit is contained in:
@@ -52,6 +52,7 @@ class KleejaDatabase
|
||||
$this->dbprefix = $dbprefix;
|
||||
$this->dbname = $db_name;
|
||||
|
||||
mysqli_report(MYSQLI_REPORT_OFF);
|
||||
$this->connect_id = @mysqli_connect($host, $db_username, $db_password, $db_name, $port);
|
||||
|
||||
//no error
|
||||
|
||||
Reference in New Issue
Block a user