From c02d3f0464b0e7faa50ddd2ed2a20fe88cd60845 Mon Sep 17 00:00:00 2001 From: Falko Timme <ft@falkotimme.com> Date: Tue, 19 Nov 2013 17:25:45 -0500 Subject: [PATCH] - nginx: added {DOCROOT} and {FASTCGIPASS} placeholders to directive snippets and nginx Directives fields. --- 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