Merge pull request #596 from ArthurHoaro/hotfix/pluginmanager-tpl-var
Fix session_protection_disabled variable in configure.php
This commit is contained in:
commit
b6e58bab8a
2 changed files with 2 additions and 1 deletions
|
@ -1159,6 +1159,7 @@ function renderPage($conf, $pluginManager)
|
||||||
$PAGE->assign('timezone_form', $timezone_form);
|
$PAGE->assign('timezone_form', $timezone_form);
|
||||||
$PAGE->assign('timezone_js',$timezone_js);
|
$PAGE->assign('timezone_js',$timezone_js);
|
||||||
$PAGE->assign('private_links_default', $conf->get('privacy.default_private_links', false));
|
$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_rss_permalinks', $conf->get('feed.rss_permalinks', false));
|
||||||
$PAGE->assign('enable_update_check', $conf->get('updates.check_updates', true));
|
$PAGE->assign('enable_update_check', $conf->get('updates.check_updates', true));
|
||||||
$PAGE->assign('hide_public_links', $conf->get('privacy.hide_public_links', false));
|
$PAGE->assign('hide_public_links', $conf->get('privacy.hide_public_links', false));
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
<td><b>Security:</b></td>
|
<td><b>Security:</b></td>
|
||||||
<td>
|
<td>
|
||||||
<input type="checkbox" name="disablesessionprotection" id="disablesessionprotection"
|
<input type="checkbox" name="disablesessionprotection" id="disablesessionprotection"
|
||||||
{if="$private_links_default"}checked{/if}>
|
{if="$session_protection_disabled"}checked{/if}>
|
||||||
<label
|
<label
|
||||||
for="disablesessionprotection"> Disable session cookie hijacking protection (Check this if you get
|
for="disablesessionprotection"> Disable session cookie hijacking protection (Check this if you get
|
||||||
disconnected often or if your IP address changes often.)</label>
|
disconnected often or if your IP address changes often.)</label>
|
||||||
|
|
Loading…
Reference in a new issue