Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
af5c9b98
Commit
af5c9b98
authored
Aug 18, 2008
by
tbrehm
Browse files
Fixed a bug in updater when the bastille configuration is saved during a update.
parent
01074a6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/lib/installer_base.lib.php
View file @
af5c9b98
...
...
@@ -536,6 +536,8 @@ class installer_base {
public
function
configure_getmail
()
{
global
$conf
;
$config_dir
=
$conf
[
'getmail'
][
'config_dir'
];
if
(
!
is_dir
(
$config_dir
))
exec
(
"mkdir -p "
.
escapeshellcmd
(
$config_dir
));
...
...
@@ -601,6 +603,8 @@ class installer_base {
public
function
configure_apache
()
{
global
$conf
;
//* Create the logging directory for the vhost logfiles
exec
(
'mkdir -p /var/log/ispconfig/httpd'
);
...
...
@@ -612,6 +616,7 @@ class installer_base {
$dist_init_scripts
=
$conf
[
'init_scripts'
];
if
(
is_dir
(
"/etc/Bastille.backup"
))
caselog
(
"rm -rf /etc/Bastille.backup"
,
__FILE__
,
__LINE__
);
if
(
is_dir
(
"/etc/Bastille"
))
caselog
(
"mv -f /etc/Bastille /etc/Bastille.backup"
,
__FILE__
,
__LINE__
);
@
mkdir
(
"/etc/Bastille"
,
octdec
(
$directory_mode
));
if
(
is_dir
(
"/etc/Bastille.backup/firewall.d"
))
caselog
(
"cp -pfr /etc/Bastille.backup/firewall.d /etc/Bastille/"
,
__FILE__
,
__LINE__
);
...
...
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