Browse Source

cherry-pick f8c8dcf520 so we can have $CONF[database_port] in v3.3.x

issue-916
David Goodwin 5 years ago
parent
commit
4c0983f899
  1. 2
      functions.inc.php

2
functions.inc.php

@ -1583,7 +1583,7 @@ function db_connection_string() {
if ($socket) {
$dsn .= "unix_socket={$socket}";
} else {
$dsn .= "mysql:host={$CONF['database_host']}";
$dsn .= "host={$CONF['database_host']}";
}
if (isset($CONF['database_port'])) {

Loading…
Cancel
Save