From ba3e3e48e6ec4523ae26dc6c206d5bfdfa08d332 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 26 Sep 2011 06:27:16 -0400
Subject: [PATCH] Removed template selector from reseller limits as templates are for clients only at the moment and a client template which gets applied to a reseller will convert the reseller to a client which is not intended. Templates for resellers will be added in a future version.

---
 server/plugins-available/nginx_reverseproxy_plugin.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/plugins-available/nginx_reverseproxy_plugin.inc.php b/server/plugins-available/nginx_reverseproxy_plugin.inc.php
index 96f2b9b..ec0e225 100644
--- a/server/plugins-available/nginx_reverseproxy_plugin.inc.php
+++ b/server/plugins-available/nginx_reverseproxy_plugin.inc.php
@@ -13,7 +13,7 @@
 	function onInstall() {
 		global $conf;
 
-		if($conf['services']['proxy'] == true && $conf['nginx']['installed'] == true) {
+		if(isset($conf['services']['proxy']) && $conf['services']['proxy'] == true && isset($conf['nginx']['installed']) && $conf['nginx']['installed'] == true) {
 			return true;
 		} else {
 			return false;

--
Gitblit v1.9.1