Commit 5e171f44 authored by Benjamin Eberlei's avatar Benjamin Eberlei

DBAL-35 - Fix SqlSrv connection

parent 8054984a
...@@ -49,8 +49,7 @@ class Driver implements \Doctrine\DBAL\Driver ...@@ -49,8 +49,7 @@ class Driver implements \Doctrine\DBAL\Driver
*/ */
private function _constructPdoDsn(array $params) private function _constructPdoDsn(array $params)
{ {
// TODO: This might need to be revisted once we have access to a sql server $dsn = 'sqlsrv:server=(';
$dsn = 'sqlsrv:(';
if (isset($params['host'])) { if (isset($params['host'])) {
$dsn .= $params['host']; $dsn .= $params['host'];
} }
......
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