From 2e193ad387769e62408849dd232c4013c5134225 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sun, 10 Jul 2016 10:42:21 +0200 Subject: [PATCH] Fix variable in configure.php --- index.php | 1 + tpl/configure.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index b9576de..00012e2 100644 --- a/index.php +++ b/index.php @@ -1159,6 +1159,7 @@ function renderPage($conf, $pluginManager) $PAGE->assign('timezone_form', $timezone_form); $PAGE->assign('timezone_js',$timezone_js); $PAGE->assign('private_links_default', $conf->get('privacy.default_private_links', false)); + $PAGE->assign('session_protection_disabled', $conf->get('security.session_protection_disabled', false)); $PAGE->assign('enable_rss_permalinks', $conf->get('feed.rss_permalinks', false)); $PAGE->assign('enable_update_check', $conf->get('updates.check_updates', true)); $PAGE->assign('hide_public_links', $conf->get('privacy.hide_public_links', false)); diff --git a/tpl/configure.html b/tpl/configure.html index ad9a208..983bcd0 100644 --- a/tpl/configure.html +++ b/tpl/configure.html @@ -36,7 +36,7 @@ Security: + {if="$session_protection_disabled"}checked{/if}>