mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
Merge 17b49a005e
into 3b951a0e37
This commit is contained in:
commit
435426a2ff
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ function pwg_db_connect($host, $user, $password, $database)
|
|||
elseif (strpos($host, ':') !== false)
|
||||
{
|
||||
list($host, $port) = explode(':', $host);
|
||||
$port = (int) $port;
|
||||
}
|
||||
|
||||
$dbname = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue