mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 16:53:34 +02:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user