phpbb/quickinstall

3.3.0 compatibility

Closed this issue · 3 comments

3D-I commented

Tried with the current branch 3.3.0-dev, just to test.

Uncaught Error: Class 'phpbb\db\driver\sqlite' not found in C:\wamp64\www\QI\includes\functions_install.php on line 143

3D-I commented

Changing the above line to

$sqlite_db = new \phpbb\db\driver\sqlite3();

function get_db_tools($db)
{
	if (defined('PHPBB_32') || defined('PHPBB_33'))
	{
		$factory = new \phpbb\db\tools\factory();
		return $factory->get($db);
	}

	return new \phpbb\db\tools($db);
}

And define PHPBB_33 somewhere should be the solution?

3D-I commented

I see there is something else though.

3D-I commented

Ok, working on a PR.