diff --git a/debian/patches/db_credentials b/debian/patches/db_credentials index 9852e291..ffb7c745 100644 --- a/debian/patches/db_credentials +++ b/debian/patches/db_credentials @@ -12,7 +12,7 @@ Index: postfixadmin/config.inc.php */ +// This loads the automatic generated DB credentials from /etc/postfixadmin/dbconfig.inc.php -+require_once('dbconfig.inc.php'); ++require_once('/etc/postfixadmin/dbconfig.inc.php'); +if (!isset($dbserver) || empty($dbserver)) + $dbserver='localhost'; + @@ -32,7 +32,7 @@ Index: postfixadmin/config.inc.php // mysql = MySQL 3.23 and 4.0, 4.1 or 5 // mysqli = MySQL 4.1+ // pgsql = PostgreSQL --$CONF['database_type'] = 'mysql'; +-$CONF['database_type'] = 'mysqli'; -$CONF['database_host'] = 'localhost'; -$CONF['database_user'] = 'postfix'; -$CONF['database_password'] = 'postfixadmin';