mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
see #217 - should solve looking in /etc/postfixadmin ...
This commit is contained in:
1 parent
18be203039
commit
cecfe6b215
1 file changed
+5
@@ -49,6 +49,11 @@ $f_imap_open = function_exists("imap_open");
|
||||
$file_config = file_exists(realpath("./../config.inc.php"));
|
||||
$file_local_config = file_exists(realpath("./../config.local.php"));
|
||||
|
||||
// Fall back to looking in /etc/postfixadmin for config.local.php (Debian etc)
|
||||
if(!$file_local_config && is_dir('/etc/postfixadmin')) {
|
||||
$file_local_config = file_exists('/etc/postfixadmin/config.local.php');
|
||||
}
|
||||
|
||||
$error = 0;
|
||||
|
||||
$errormsg = array();
|
||||
|
||||
Reference in new issue
Block a user