From 319dd9c0a8a111ab45c0b51afaa8e757b6f4e0ef Mon Sep 17 00:00:00 2001
From: Florian Schaal <florian@schaal-24.de>
Date: Sun, 16 Aug 2015 16:10:57 -0400
Subject: [PATCH] change "force configure openvz"
---
install/install.php | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/install/install.php b/install/install.php
index a439672..7e916c1 100644
--- a/install/install.php
+++ b/install/install.php
@@ -755,8 +755,12 @@
}
}
- if($conf['openvz']['installed'] = true && strtolower($inst->simple_query('Enable Openvz-Server', array('y', 'n'), 'y','configure_openvz')) == 'y')
- $conf['services']['vserver'] = true;
+ //* Configure OpenVZ
+ $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') {
//* Check for Firewall
--
Gitblit v1.9.1