diff options
author | mistic100 <mistic@piwigo.org> | 2013-09-05 08:06:31 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2013-09-05 08:06:31 +0000 |
commit | 12707a70f2777a9fe570f1b766de89b60ccec070 (patch) | |
tree | 252dd749ab9fc266378083794dc771572fcd4f2b /include/dblayer | |
parent | e76d7301c6385630b594002c49e5db4afcc34216 (diff) |
bug 2865: correct handle of sockets for mysqli
git-svn-id: http://piwigo.org/svn/trunk@24346 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/dblayer')
-rw-r--r-- | include/dblayer/functions_mysqli.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dblayer/functions_mysqli.inc.php b/include/dblayer/functions_mysqli.inc.php index 7de69d02f..8c1ffe5ae 100644 --- a/include/dblayer/functions_mysqli.inc.php +++ b/include/dblayer/functions_mysqli.inc.php @@ -48,8 +48,8 @@ function pwg_db_connect($host, $user, $password, $database) if (strpos($host, '/') === 0) { - $host = null; $socket = $host; + $host = null; } elseif (strpos($host, ':') !== false) { |