From 56fbf6ad74879051a9f7ba0c6abec19398021b58 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 20 Aug 2017 19:40:11 +0200 Subject: [PATCH] fixed help in self service --- lam/lib/modules.inc | 6 +++++- lam/templates/help.php | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index 28170cc4..514b3de5 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -692,7 +692,11 @@ function printHelpLink($entry, $number, $module = '', $scope = '', $classes = ar // replace special characters $message = htmlspecialchars($message); $title = htmlspecialchars($title); - echo ""; echo "\"""; echo ""; diff --git a/lam/templates/help.php b/lam/templates/help.php index d1c35905..d70dcbd0 100644 --- a/lam/templates/help.php +++ b/lam/templates/help.php @@ -39,6 +39,12 @@ include_once("../lib/ldap.inc"); /** configuration */ include_once("../lib/config.inc"); +/** self service functions */ +include_once("../lib/selfService.inc"); +if (!empty($_GET['selfService']) && ($_GET['selfService'] === '1')) { + session_name('SELFSERVICE'); +} + if (strtolower(session_module_name()) == 'files') { session_save_path("../sess"); }