From ab4939d9eaa0b474a3be6c8baea04e30ad158296 Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Fri, 27 Dec 2013 11:44:37 -0500 Subject: [PATCH] Fixed: FS#3042 - APS installer invalid ID error with Joomla patch from: http://www.howtoforge.com/forums/showthread.php?t=62788&page=2 --- interface/web/help/faq_sections_edit.php | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/web/help/faq_sections_edit.php b/interface/web/help/faq_sections_edit.php index 73d0280..32f0123 100644 --- a/interface/web/help/faq_sections_edit.php +++ b/interface/web/help/faq_sections_edit.php @@ -4,11 +4,11 @@ $tform_def_file = 'form/faq_sections.tform.php'; // include the core configuration and application classes -require_once('../../lib/config.inc.php'); -require_once('../../lib/app.inc.php'); +require_once '../../lib/config.inc.php'; +require_once '../../lib/app.inc.php'; // Check the module permissions and redirect if not allowed. -if(!stristr($_SESSION['s']['user']['modules'],'help')) { +if(!stristr($_SESSION['s']['user']['modules'], 'help')) { header('Location: ../index.php'); die; } -- Gitblit v1.9.1