bug 2865: correct handle of sockets for mysqli

git-svn-id: http://piwigo.org/svn/trunk@24346 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100
2013-09-05 08:06:31 +00:00
parent e76d7301c6
commit 12707a70f2
+1 -1
View File
@@ -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)
{