From 7f07e7e59a10b016e63fe998fe567ed68aeba3de Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Fri, 2 May 2014 16:48:21 +0000 Subject: [PATCH] fix to work with debian/trunk etc (mysql->mysqli) git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1669 a1433add-5e2c-0410-b055-b7f2511e0802 --- debian/patches/db_credentials | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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';