From c53695f5ac6ec973a8e8b4af914f629b2c40f465 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 15 Dec 2011 10:08:42 -0500
Subject: [PATCH] - Fixed some php notices. - Added error_reporting level in app.inc.php to E_ALL & ~E_NOTICE

---
 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