mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-24 00:05:33 +02:00
Merge remote-tracking branch 'bantu/ticket/10416' into develop-olympus
* bantu/ticket/10416: [ticket/10416] Pass dbport to PDO object in ...connection_manager::connect().
This commit is contained in:
commit
ff0839e76b
@ -69,6 +69,11 @@ class phpbb_database_test_connection_manager
|
||||
default:
|
||||
$dsn .= 'host=' . $this->config['dbhost'];
|
||||
|
||||
if ($this->config['dbport'])
|
||||
{
|
||||
$dsn .= ';port=' . $this->config['dbport'];
|
||||
}
|
||||
|
||||
if ($use_db)
|
||||
{
|
||||
$dsn .= ';dbname=' . $this->config['dbname'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user