0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00

composer format

This commit is contained in:
David Goodwin 2021-10-12 19:54:30 +01:00
parent ef4ac3ce4b
commit bef2d7c536

View File

@ -1583,7 +1583,7 @@ function db_connection_string() {
if ($socket) {
$dsn .= "unix_socket={$socket}";
} else {
$dsn .= "mysql:host={$CONF['database_host']}";
$dsn .= "mysql:host={$CONF['database_host']}";
}
if (isset($CONF['database_port'])) {
@ -1591,7 +1591,6 @@ function db_connection_string() {
}
$dsn .= ";dbname={$database_name};charset=UTF8";
} elseif (db_sqlite()) {
$db = $CONF['database_name'];