diff options
author | zotlabs <mike@macgirvin.com> | 2019-04-15 20:53:44 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-04-15 20:53:44 -0700 |
commit | df5a1c59e6d2a0921de177aabacbee674d7385da (patch) | |
tree | 659c8b64743ac4cb894820eaa0f3ca47329b13d3 /include/dba/dba_pdo.php | |
parent | 0615709a7ab7bba66b2a07d593e84a35ed083edb (diff) | |
parent | 71f17a233e29a45304f43ee2329bfff1865c6917 (diff) | |
download | volse-hubzilla-df5a1c59e6d2a0921de177aabacbee674d7385da.tar.gz volse-hubzilla-df5a1c59e6d2a0921de177aabacbee674d7385da.tar.bz2 volse-hubzilla-df5a1c59e6d2a0921de177aabacbee674d7385da.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'include/dba/dba_pdo.php')
-rwxr-xr-x | include/dba/dba_pdo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dba/dba_pdo.php b/include/dba/dba_pdo.php index 5002f53e7..a70e4a1d7 100755 --- a/include/dba/dba_pdo.php +++ b/include/dba/dba_pdo.php @@ -19,7 +19,7 @@ class dba_pdo extends dba_driver { $this->driver_dbtype = $scheme; if(strpbrk($server,':;')) { - $dsn = $server; + $dsn = $this->driver_dbtype . ':unix_socket=' . trim($server, ':;'); } else { $dsn = $this->driver_dbtype . ':host=' . $server . (intval($port) ? ';port=' . $port : ''); |