镜像自地址
https://github.com/nextcloud/server.git
已同步 2024-08-23 17:57:31 +02:00
Don't specify host when using a socket.
这个提交包含在:
父节点
0932760304
当前提交
73062040e6
@ -78,12 +78,12 @@ class OC_DB {
|
||||
// Host variable may carry a port or socket.
|
||||
list($host, $portOrSocket) = explode(':', $host, 2);
|
||||
if (ctype_digit($portOrSocket)) {
|
||||
$connectionParams['host'] = $host;
|
||||
$connectionParams['port'] = $portOrSocket;
|
||||
} else {
|
||||
$connectionParams['unix_socket'] = $portOrSocket;
|
||||
}
|
||||
}
|
||||
$connectionParams['host'] = $host;
|
||||
$connectionParams['dbname'] = $name;
|
||||
}
|
||||
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户