fixed dsn bug (if port given pdo wants it to be added as
port=12345; to dsn not :12345)
This commit is contained in:
parent
97a1552c41
commit
2621996cb2
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
|
|||
}
|
||||
|
||||
$parts['dsn'] = $parts['scheme'] . ':host='
|
||||
. $parts['host'] . (isset($parts['port']) ? ':' . $parts['port']:null) . ';dbname='
|
||||
. $parts['host'] . (isset($parts['port']) ? ';port=' . $parts['port']:null) . ';dbname='
|
||||
. $parts['database'];
|
||||
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue