diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2018-09-15 15:44:56 +0200 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2018-09-15 15:44:56 +0200 |
commit | bc5808ad87b51638af739d2abed465321589d7f0 (patch) | |
tree | ec532ccd6f35e56070693ed1120cf82013fbe13b /phpBB/phpbb/user.php | |
parent | bb20a88748d63502e47de4a3a8fb4b2e6653ac92 (diff) | |
download | forums-bc5808ad87b51638af739d2abed465321589d7f0.tar forums-bc5808ad87b51638af739d2abed465321589d7f0.tar.gz forums-bc5808ad87b51638af739d2abed465321589d7f0.tar.bz2 forums-bc5808ad87b51638af739d2abed465321589d7f0.tar.xz forums-bc5808ad87b51638af739d2abed465321589d7f0.zip |
[ticket/15509] Don't show disabled board when in install
PHPBB3-15509
Diffstat (limited to 'phpBB/phpbb/user.php')
-rw-r--r-- | phpBB/phpbb/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/user.php b/phpBB/phpbb/user.php index 5899dff2f5..99de680f76 100644 --- a/phpBB/phpbb/user.php +++ b/phpBB/phpbb/user.php @@ -340,7 +340,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']) { |