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
lolo888
ISPConfig 3
Commits
e9b0d1ea
Commit
e9b0d1ea
authored
Jun 28, 2011
by
latham
Browse files
Fix Daniel's mistake with conf var
parent
7033d10a
Changes
1
Hide whitespace changes
Inline
Side-by-side
install/update.php
View file @
e9b0d1ea
...
...
@@ -374,10 +374,10 @@ if($reconfigure_services_answer == 'yes') {
}
if
(
$conf
[
'services'
][
'firewall'
])
{
if
(
$conf
[
'ufw'
][
'installed'
]
==
true
&&
$conf
[
'ufw'
][
'init_script'
]
!=
''
&&
is_executable
(
$conf
[
'init_scripts'
]
.
'/'
.
$conf
[
'ufw'
][
'init_script'
]))
system
(
$conf
[
'init_scripts'
]
.
'/'
.
$conf
[
'
squid
'
][
'init_script'
]
.
' restart &> /dev/null'
);
if
(
$conf
[
'ufw'
][
'installed'
]
==
true
&&
$conf
[
'ufw'
][
'init_script'
]
!=
''
&&
is_executable
(
$conf
[
'init_scripts'
]
.
'/'
.
$conf
[
'ufw'
][
'init_script'
]))
system
(
$conf
[
'init_scripts'
]
.
'/'
.
$conf
[
'
ufw
'
][
'init_script'
]
.
' restart &> /dev/null'
);
}
}
echo
"Update finished.
\n
"
;
?>
?>
\ No newline at end of file
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