mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
patch #2932: allow PostgreSQL unix domain sockets
This commit is contained in:
parent
da95032505
commit
b56311dca0
@ -1538,7 +1538,7 @@ class sqlfs_stream_wrapper implements iface_stream_wrapper
|
||||
switch($type)
|
||||
{
|
||||
default:
|
||||
$dsn = self::$pdo_type.':host='.$egw_db->Host.';port='.$egw_db->Port.';dbname='.$egw_db->Database;
|
||||
$dsn = self::$pdo_type.':dbname='.$egw_db->Database.($egw_db->Host ? ';host='.$egw_db->Host.($egw_db->Port ? ';port='.$egw_db->Port : '') : '');
|
||||
break;
|
||||
}
|
||||
// check once if pdo extension and DB specific driver is loaded or can be loaded
|
||||
|
Loading…
Reference in New Issue
Block a user