From 9b021b2e4b3ee783ceae6f1cf04e1b06ed431637 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Wed, 24 Sep 2014 09:46:48 -0400
Subject: [PATCH] Added support for php-fpm with mod_proxy_fcgi (required for apache 2.4). Note: The mod_proxy_fcgi that ships with CentOS and Ubuntu does not support sockets yet, so all php-fpm connections are done by IP.

---
 interface/web/help/faq_sections_list.php |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/interface/web/help/faq_sections_list.php b/interface/web/help/faq_sections_list.php
index a24c879..4acb4ae 100644
--- a/interface/web/help/faq_sections_list.php
+++ b/interface/web/help/faq_sections_list.php
@@ -1,15 +1,15 @@
 <?php
 
-require_once('../../lib/config.inc.php');
-require_once('../../lib/app.inc.php');
+require_once '../../lib/config.inc.php';
+require_once '../../lib/app.inc.php';
 
 // Path to the list definition file
 $list_def_file = 'list/faq_sections_list.php';
 
 // Check the module permissions
-if(!stristr($_SESSION['s']['user']['modules'],'help')) {
-    header('Location: ../index.php');
-    die();
+if(!stristr($_SESSION['s']['user']['modules'], 'help')) {
+	header('Location: ../index.php');
+	die();
 }
 
 // Loading the class

--
Gitblit v1.9.1