1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-08-09 05:02:44 +03:00

attempt at fixing various .deb issues - link templates_c to /var/cache/postfixadmin; add postfixadmin-cli to deb and symlink into /usr/bin

This commit is contained in:
David Goodwin
2017-09-07 15:00:52 +01:00
parent 252d42dcc0
commit dd06aa75e0
6 changed files with 12 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ Index: postfixadmin/config.inc.php
*/
+// Debian: This loads the automatic generated DB credentials from /etc/postfixadmin/dbconfig.inc.php
+require_once('dbconfig.inc.php');
+require_once(dirname(__FILE__) . '/dbconfig.inc.php');
+if (!isset($dbserver) || empty($dbserver)) {
+ $dbserver = 'localhost';
+}