mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge pull request #5359 from Elsensee/ticket/15509
[ticket/15509] Don't show disabled board when in install
This commit is contained in:
commit
220490e4db
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ class user extends \phpbb\session
|
|||
}
|
||||
|
||||
// Is board disabled and user not an admin or moderator?
|
||||
if ($config['board_disable'] && !defined('IN_LOGIN') && !defined('SKIP_CHECK_DISABLED') && !$auth->acl_gets('a_', 'm_') && !$auth->acl_getf_global('m_'))
|
||||
if ($config['board_disable'] && !defined('IN_INSTALL') && !defined('IN_LOGIN') && !defined('SKIP_CHECK_DISABLED') && !$auth->acl_gets('a_', 'm_') && !$auth->acl_getf_global('m_'))
|
||||
{
|
||||
if ($this->data['is_bot'])
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue