Skip to content

Commit ae3cf84

Browse files
author
floria030
committed
fixed minor issues
1 parent 44ae080 commit ae3cf84

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

install/lib/installer_base.lib.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -669,11 +669,11 @@ public function configure_postfix($options = '') {
669669

670670
//* postfix-dkim
671671
$full_file_name=$config_dir.'/tag_as_originating.re';
672-
if(is_file($full_file_name)) copy($full_file_name, $$full_file_name.'~');
672+
if(is_file($full_file_name)) copy($full_file_name, $full_file_name.'~');
673673
wf($full_file_name, '/^/ FILTER amavis:[127.0.0.1]:10026');
674674

675675
$full_file_name=$config_dir.'/tag_as_foreign.re';
676-
if(is_file($full_file_name)) copy($full_file_name, $$full_file_name.'~');
676+
if(is_file($full_file_name)) copy($full_file_name, $full_file_name.'~');
677677
wf($full_file_name, '/^/ FILTER amavis:[127.0.0.1]:10024');
678678

679679
//* Changing mode and group of the new created config files.
@@ -1048,13 +1048,13 @@ public function configure_amavis() {
10481048
}
10491049
if(!stristr($content, '127.0.0.1:10025')) {
10501050
unset($content);
1051-
$content = rfsel($conf['ispconfig_install_dir'].'/server/conf-custom/install/master_cf_amavis.master', 'tpl/master_cf_amavis10025.master');
1051+
$content = rfsel($conf['ispconfig_install_dir'].'/server/conf-custom/install/master_cf_amavis10025.master', 'tpl/master_cf_amavis10025.master');
10521052
af($conf['postfix']['config_dir'].'/master.cf', $content);
1053-
$content = rf($conf['postfix']['config_dir'].'/master.cf');
1053+
$content = rf($conf['postfix']['config_dir'].'/master.cf');
10541054
}
10551055
if(!stristr($content, '127.0.0.1:10027')) {
10561056
unset($content);
1057-
$content = rfsel($conf['ispconfig_install_dir'].'/server/conf-custom/install/master_cf_amavis.master', 'tpl/master_cf_amavis10027.master');
1057+
$content = rfsel($conf['ispconfig_install_dir'].'/server/conf-custom/install/master_cf_amavis10027.master', 'tpl/master_cf_amavis10027.master');
10581058
af($conf['postfix']['config_dir'].'/master.cf', $content);
10591059
}
10601060
unset($content);

0 commit comments

Comments
 (0)