Skip to content
Snippets Groups Projects
Commit 319dd9c0 authored by Florian Schaal's avatar Florian Schaal
Browse files

change "force configure openvz"

parent 06129597
No related branches found
No related tags found
1 merge request!218Master
...@@ -755,8 +755,12 @@ if($install_mode == 'standard') { ...@@ -755,8 +755,12 @@ if($install_mode == 'standard') {
} }
} }
if($conf['openvz']['installed'] = true && strtolower($inst->simple_query('Enable Openvz-Server', array('y', 'n'), 'y','configure_openvz')) == 'y') //* Configure OpenVZ
$conf['services']['vserver'] = true; $force = @($conf['openvz']['installed']) ? true : $inst->force_configure_app('OpenVZ');
if($force) {
$conf['services']['vserver'] = true;
swriteln('Configuring OpenVZ');
}
if(strtolower($inst->simple_query('Configure Firewall Server', array('y', 'n'), 'y','configure_firewall')) == 'y') { if(strtolower($inst->simple_query('Configure Firewall Server', array('y', 'n'), 'y','configure_firewall')) == 'y') {
//* Check for Firewall //* Check for Firewall
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment