allow passing driver options, fixes #11718
This commit is contained in:
parent
aee1edf6b5
commit
e16a58220d
|
@ -153,6 +153,13 @@ class ConnectionFactory {
|
|||
}
|
||||
|
||||
$connectionParams['tablePrefix'] = $config->getSystemValue('dbtableprefix', 'oc_');
|
||||
|
||||
//additional driver options, eg. for mysql ssl
|
||||
$driverOptions = $config->getSystemValue('dbdriveroptions', null);
|
||||
if ($driverOptions) {
|
||||
$connectionParams['driverOptions'] = $driverOptions;
|
||||
}
|
||||
|
||||
return $connectionParams;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue