mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
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
This commit is contained in:
parent
cc2d9bdd04
commit
7f07e7e59a
4
debian/patches/db_credentials
vendored
4
debian/patches/db_credentials
vendored
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user