From 65625c129fd95d249f0accafd039e9119c0d8866 Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Tue, 08 Dec 2015 10:13:39 -0500
Subject: [PATCH] Revert "- Merged https://github.com/alexalouit/ISPConfig-letsencrypt.git"

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

diff --git a/server/plugins-available/apache2_plugin.inc.php b/server/plugins-available/apache2_plugin.inc.php
index 5f2229b..54a7712 100644
--- a/server/plugins-available/apache2_plugin.inc.php
+++ b/server/plugins-available/apache2_plugin.inc.php
@@ -2664,6 +2664,8 @@
 		$tpl->newTemplate('php_fpm_pool.conf.master');
 		$tpl->setVar('apache_version', $app->system->getapacheversion());
 		
+		$apache_modules = $app->system->getapachemodules();
+		
 		// Use sockets, but not with apache 2.4 on centos (mod_proxy_fcgi) as socket support is buggy in that version
 		if($data['new']['php_fpm_use_socket'] == 'y' && in_array('fastcgi_module',$apache_modules)){
 			$use_tcp = 0;

--
Gitblit v1.9.1