From ffe8428a13a5ff6fcc77bd5dd26f1d17e981d33d Mon Sep 17 00:00:00 2001
From: cfoe <cfoe@ispconfig3>
Date: Sat, 07 Jul 2012 14:50:28 -0400
Subject: [PATCH] removed enclosing div from a.button and button elements

---
 server/plugins-available/apps_vhost_plugin.inc.php |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/server/plugins-available/apps_vhost_plugin.inc.php b/server/plugins-available/apps_vhost_plugin.inc.php
index f9fe65b..538c46c 100644
--- a/server/plugins-available/apps_vhost_plugin.inc.php
+++ b/server/plugins-available/apps_vhost_plugin.inc.php
@@ -39,7 +39,11 @@
 	function onInstall() {
 		global $conf;
 		
-		return true;
+		if($conf['services']['web'] == true) {
+			return true;
+		} else {
+			return false;
+		}
 		
 	}
 	

--
Gitblit v1.9.1