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
@ -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…
x
Reference in New Issue
Block a user