1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 06:51:33 +02:00

[ticket/16643] Add Doctrine DBAL to phpBB

PHPBB3-16643
This commit is contained in:
Máté Bartus
2021-01-16 10:53:46 +01:00
parent d9bfb4d01d
commit aab2679966
17 changed files with 990 additions and 123 deletions

View File

@@ -493,7 +493,7 @@ class convertor
$error[] = $this->language->lang('INST_ERR_DB_CONNECT');
}
$src_dbms = $this->config_php_file->convert_30_dbms_to_31($src_dbms);
$src_dbms = \phpbb\config_php_file::convert_30_dbms_to_31($src_dbms);
// Check table prefix
if (empty($error))

View File

@@ -71,7 +71,7 @@ class convertor
require_once($phpbb_root_path . 'includes/constants.' . $phpEx);
require_once($phpbb_root_path . 'includes/functions_convert.' . $phpEx);
$dbms = $phpbb_config_php_file->convert_30_dbms_to_31($dbms);
$dbms = \phpbb\config_php_file::convert_30_dbms_to_31($dbms);
/** @var \phpbb\db\driver\driver_interface $db */
$db = new $dbms();

View File

@@ -29,7 +29,7 @@ $phpbb_config_php_file = new \phpbb\config_php_file($phpbb_root_path, $phpEx);
extract($phpbb_config_php_file->get_all());
unset($dbpasswd);
$dbms = $phpbb_config_php_file->convert_30_dbms_to_31($dbms);
$dbms = \phpbb\config_php_file::convert_30_dbms_to_31($dbms);
/**
* $convertor_data provides some basic information about this convertor which is