mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Fixes connecting to Oracle without port set
This commit is contained in:
parent
6887d7daf5
commit
dca8c1cbc1
1 changed files with 3 additions and 1 deletions
|
|
@ -156,11 +156,13 @@ class OC_DB {
|
|||
'user' => $user,
|
||||
'password' => $pass,
|
||||
'host' => $host,
|
||||
'port' => $port,
|
||||
'dbname' => $name,
|
||||
'charset' => 'AL32UTF8',
|
||||
'driver' => 'oci8',
|
||||
);
|
||||
if (!empty($port)) {
|
||||
$connectionParams['port'] = $port;
|
||||
}
|
||||
break;
|
||||
case 'mssql':
|
||||
$connectionParams = array(
|
||||
|
|
|
|||
Loading…
Reference in a new issue