1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/16643] Fixes

PHPBB3-16643
This commit is contained in:
Máté Bartus
2021-02-01 22:09:15 +01:00
parent 0f7b89838a
commit 1ce97fe8ea
5 changed files with 11 additions and 14 deletions

View File

@@ -41,23 +41,23 @@ trait driver_convertor
case 'mssql_odbc':
case 'mssqlnative':
$name = 'pdo_sqlsrv';
break;
break;
case 'mysqli':
$name = 'pdo_mysql';
break;
break;
case 'oracle':
$name = 'oci8';
break;
break;
case 'postgres':
$name = 'pdo_pgsql';
break;
break;
case 'sqlite3':
$name = 'pdo_sqlite';
break;
break;
default:
throw new InvalidArgumentException('Invalid phpBB database driver provided: ' . $driver_name);