diff --git a/Auth_phpbb.php b/Auth_phpbb.php index 05afc9f..a7b75ba 100644 --- a/Auth_phpbb.php +++ b/Auth_phpbb.php @@ -431,7 +431,7 @@ private function connect() else { // Connect to database. - $fresMySQLConnection = mysql_connect($GLOBALS['wgDBserver'], $GLOBALS['wgDBuser'], + $fresMySQLConnection = new mysqli($GLOBALS['wgDBserver'], $GLOBALS['wgDBuser'], $GLOBALS['wgDBpassword'], $GLOBALS['wgDBname']); // Check if we are connected to the database.