mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 18:33:39 +01:00
patch #2932: allow PostgreSQL unix domain sockets
This commit is contained in:
parent
33192b2931
commit
52d70b90c1
@ -1521,7 +1521,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