Commit 2621996c authored by ppetermann's avatar ppetermann

fixed dsn bug (if port given pdo wants it to be added as

port=12345; to dsn not :12345)
parent 97a1552c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment