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
Thomas Basler
ISPConfig 3
Commits
3c5d2328
Commit
3c5d2328
authored
Mar 11, 2021
by
Thom Pol
Browse files
Fix critical error with new custom Postfix config
parent
5f2405d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
3c5d2328
...
...
@@ -1177,7 +1177,7 @@ class installer_base {
}
$configfile
=
'postfix_custom.conf'
;
if
(
file_exists
(
$conf
[
'ispconfig_install_dir'
]
.
'/server/conf-custom/install/'
.
$configfile
.
'.master'
))
{
$content
=
rfsel
(
$conf
[
'ispconfig_install_dir'
]
.
'/server/conf-custom/install/'
.
$configfile
.
'.master'
);
$content
=
file_get_contents
(
$conf
[
'ispconfig_install_dir'
]
.
'/server/conf-custom/install/'
.
$configfile
.
'.master'
);
$content
=
strtr
(
$content
,
$postconf_placeholders
);
$postconf_commands
=
array_merge
(
$postconf_commands
,
array_filter
(
explode
(
"
\n
"
,
$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