You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-08-07 17:42:53 +03:00
cherry-pick f8c8dcf520
so we can have $CONF[database_port] in v3.3.x
This commit is contained in:
@@ -1583,7 +1583,7 @@ function db_connection_string() {
|
|||||||
if ($socket) {
|
if ($socket) {
|
||||||
$dsn .= "unix_socket={$socket}";
|
$dsn .= "unix_socket={$socket}";
|
||||||
} else {
|
} else {
|
||||||
$dsn .= "mysql:host={$CONF['database_host']}";
|
$dsn .= "host={$CONF['database_host']}";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($CONF['database_port'])) {
|
if (isset($CONF['database_port'])) {
|
||||||
|
Reference in New Issue
Block a user