Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
4d4495c9
Commit
4d4495c9
authored
Aug 18, 2008
by
tbrehm
Browse files
No commit message
No commit message
parent
af5c9b98
Changes
1
Show whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
4d4495c9
...
@@ -510,7 +510,7 @@ class installer_base {
...
@@ -510,7 +510,7 @@ class installer_base {
if
(
is_file
(
$conf
[
"postfix"
][
"config_dir"
]
.
'/master.cf'
))
copy
(
$conf
[
"postfix"
][
"config_dir"
]
.
'/master.cf'
,
$conf
[
"postfix"
][
"config_dir"
]
.
'/master.cf~'
);
if
(
is_file
(
$conf
[
"postfix"
][
"config_dir"
]
.
'/master.cf'
))
copy
(
$conf
[
"postfix"
][
"config_dir"
]
.
'/master.cf'
,
$conf
[
"postfix"
][
"config_dir"
]
.
'/master.cf~'
);
$content
=
rf
(
"tpl/master_cf_amavis.master"
);
$content
=
rf
(
"tpl/master_cf_amavis.master"
);
// Only add the content if we had not addded it before
// Only add the content if we had not addded it before
if
(
!
stristr
(
"127.0.0.1:10025"
,
$content
))
{
if
(
!
stristr
(
$content
,
"127.0.0.1:10025"
))
{
af
(
$conf
[
"postfix"
][
"config_dir"
]
.
'/master.cf'
,
$content
);
af
(
$conf
[
"postfix"
][
"config_dir"
]
.
'/master.cf'
,
$content
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment