Skip to content

Commit 319dd9c

Browse files
author
Florian Schaal
committed
change "force configure openvz"
1 parent 0612959 commit 319dd9c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

install/install.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -755,8 +755,12 @@
755755
}
756756
}
757757

758-
if($conf['openvz']['installed'] = true && strtolower($inst->simple_query('Enable Openvz-Server', array('y', 'n'), 'y','configure_openvz')) == 'y')
759-
$conf['services']['vserver'] = true;
758+
//* Configure OpenVZ
759+
$force = @($conf['openvz']['installed']) ? true : $inst->force_configure_app('OpenVZ');
760+
if($force) {
761+
$conf['services']['vserver'] = true;
762+
swriteln('Configuring OpenVZ');
763+
}
760764

761765
if(strtolower($inst->simple_query('Configure Firewall Server', array('y', 'n'), 'y','configure_firewall')) == 'y') {
762766
//* Check for Firewall

0 commit comments

Comments
 (0)