From 6882ab1634ec66e621e8964428f741cd7d103a00 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 07 Dec 2011 05:07:05 -0500 Subject: [PATCH] Merged revisions 2794-2804 from stable branch. --- 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