Added unix_socket doctrine.dbal.connection option, which is used by the doctrine2 PDOMySql driver.
This commit is contained in:
parent
a9c047f846
commit
73db693591
@ -120,7 +120,7 @@ class DoctrineExtension extends LoaderExtension
|
||||
if (isset($connection['options'])) {
|
||||
$driverOptions['driverOptions'] = $connection['options'];
|
||||
}
|
||||
foreach (array('dbname', 'host', 'user', 'password', 'path', 'port') as $key) {
|
||||
foreach (array('dbname', 'host', 'user', 'password', 'path', 'port', 'unix_socket') as $key) {
|
||||
if (isset($connection[$key])) {
|
||||
$driverOptions[$key] = $connection[$key];
|
||||
}
|
||||
|
Reference in New Issue
Block a user