mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/10416] Pass dbport to PDO object in ...connection_manager::connect().
This commit is contained in:
commit
88d064b6f4
1 changed files with 5 additions and 0 deletions
|
@ -69,6 +69,11 @@ class phpbb_database_test_connection_manager
|
||||||
default:
|
default:
|
||||||
$dsn .= 'host=' . $this->config['dbhost'];
|
$dsn .= 'host=' . $this->config['dbhost'];
|
||||||
|
|
||||||
|
if ($this->config['dbport'])
|
||||||
|
{
|
||||||
|
$dsn .= ';port=' . $this->config['dbport'];
|
||||||
|
}
|
||||||
|
|
||||||
if ($use_db)
|
if ($use_db)
|
||||||
{
|
{
|
||||||
$dsn .= ';dbname=' . $this->config['dbname'];
|
$dsn .= ';dbname=' . $this->config['dbname'];
|
||||||
|
|
Loading…
Add table
Reference in a new issue