From d2c5ed744b3ded87b2735ed26f45ae2836d2bedc Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Wed, 09 Apr 2014 13:11:30 -0400
Subject: [PATCH] - Changed php-fpm-socket listen mode to 0600. - Enable php-fpm socket mode as default.
---
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