Skip to content

Commit 3ed6e17

Browse files
committed
Apply suggestions from !1405
1 parent a29401d commit 3ed6e17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/lib/installer_base.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,8 +1182,8 @@ public function configure_postfix($options = '') {
11821182
$content = strtr($content, $postconf_placeholders);
11831183
$postconf_commands = array_merge($postconf_commands, array_filter(explode("\n", $content)));
11841184
}
1185-
if(file_exists($conf['ispconfig_install_dir'].'/server/conf-custom/install/postfix_custom.conf.master')) {
1186-
$configfile = 'postfix_custom.conf';
1185+
$configfile = 'postfix_custom.conf';
1186+
if(file_exists($conf['ispconfig_install_dir'].'/server/conf-custom/install/' . $configfile . '.master')) {
11871187
$content = rfsel($conf['ispconfig_install_dir'].'/server/conf-custom/install/'.$configfile.'.master');
11881188
$content = strtr($content, $postconf_placeholders);
11891189
$postconf_commands = array_merge($postconf_commands, array_filter(explode("\n", $content)));

0 commit comments

Comments
 (0)