Skip to content

Commit 4191a7d

Browse files
author
Marius Burkard
committed
Merge branch 'crit-error-custom-postfix' into 'develop'
Fix critical error with new custom Postfix config See merge request ispconfig/ispconfig3!1440
2 parents 833c193 + 3c5d232 commit 4191a7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ public function configure_postfix($options = '') {
11771177
}
11781178
$configfile = 'postfix_custom.conf';
11791179
if(file_exists($conf['ispconfig_install_dir'].'/server/conf-custom/install/' . $configfile . '.master')) {
1180-
$content = rfsel($conf['ispconfig_install_dir'].'/server/conf-custom/install/'.$configfile.'.master');
1180+
$content = file_get_contents($conf['ispconfig_install_dir'].'/server/conf-custom/install/'.$configfile.'.master');
11811181
$content = strtr($content, $postconf_placeholders);
11821182
$postconf_commands = array_merge($postconf_commands, array_filter(explode("\n", $content)));
11831183
}

0 commit comments

Comments
 (0)