Updating method getdsn get connection parameters

This commit is contained in:
Gabriel Gonçalves 2017-10-05 16:31:47 -03:00 committed by Cooperl Arc Atlantique
parent 95bce1ed3a
commit 35c2806fe2

View File

@ -17,7 +17,7 @@ class ODBCZOSConnector extends ODBCConnector
protected function getDsn(array $config)
{
$dsnParts = [
"odbc:DRIVER=$driverName",
'odbc:DRIVER=%s',
'Database=%s',
'Hostname=%s',
'Port=%s',
@ -28,6 +28,7 @@ class ODBCZOSConnector extends ODBCConnector
];
$dsnConfig = [
$config['driverName'],
$config['database'],
$config['host'],
$config['port'],