diff options
-rw-r--r-- | index.php | 1 | ||||
-rw-r--r-- | tpl/configure.html | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1159,6 +1159,7 @@ function renderPage($conf, $pluginManager) | |||
1159 | $PAGE->assign('timezone_form', $timezone_form); | 1159 | $PAGE->assign('timezone_form', $timezone_form); |
1160 | $PAGE->assign('timezone_js',$timezone_js); | 1160 | $PAGE->assign('timezone_js',$timezone_js); |
1161 | $PAGE->assign('private_links_default', $conf->get('privacy.default_private_links', false)); | 1161 | $PAGE->assign('private_links_default', $conf->get('privacy.default_private_links', false)); |
1162 | $PAGE->assign('session_protection_disabled', $conf->get('security.session_protection_disabled', false)); | ||
1162 | $PAGE->assign('enable_rss_permalinks', $conf->get('feed.rss_permalinks', false)); | 1163 | $PAGE->assign('enable_rss_permalinks', $conf->get('feed.rss_permalinks', false)); |
1163 | $PAGE->assign('enable_update_check', $conf->get('updates.check_updates', true)); | 1164 | $PAGE->assign('enable_update_check', $conf->get('updates.check_updates', true)); |
1164 | $PAGE->assign('hide_public_links', $conf->get('privacy.hide_public_links', false)); | 1165 | $PAGE->assign('hide_public_links', $conf->get('privacy.hide_public_links', false)); |
diff --git a/tpl/configure.html b/tpl/configure.html index ad9a2085..983bcd08 100644 --- a/tpl/configure.html +++ b/tpl/configure.html | |||
@@ -36,7 +36,7 @@ | |||
36 | <td><b>Security:</b></td> | 36 | <td><b>Security:</b></td> |
37 | <td> | 37 | <td> |
38 | <input type="checkbox" name="disablesessionprotection" id="disablesessionprotection" | 38 | <input type="checkbox" name="disablesessionprotection" id="disablesessionprotection" |
39 | {if="$private_links_default"}checked{/if}> | 39 | {if="$session_protection_disabled"}checked{/if}> |
40 | <label | 40 | <label |
41 | for="disablesessionprotection"> Disable session cookie hijacking protection (Check this if you get | 41 | for="disablesessionprotection"> Disable session cookie hijacking protection (Check this if you get |
42 | disconnected often or if your IP address changes often.)</label> | 42 | disconnected often or if your IP address changes often.)</label> |