mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 09:16:55 +02:00
2.0.18 changes
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5283 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -450,6 +450,14 @@ $template->assign_vars(array(
|
||||
if ( !$userdata['session_logged_in'] )
|
||||
{
|
||||
$template->assign_block_vars('switch_user_logged_out', array());
|
||||
//
|
||||
// Allow autologin?
|
||||
//
|
||||
if (!isset($board_config['allow_autologin']) || $board_config['allow_autologin'] )
|
||||
{
|
||||
$template->assign_block_vars('switch_allow_autologin', array());
|
||||
$template->assign_block_vars('switch_user_logged_out.switch_allow_autologin', array());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user