mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
Allow ACP access if install/ is present and display the generic board disabled message otherwise so that a user does not know the reason for it being disabled
git-svn-id: file:///svn/phpbb/trunk@6276 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -191,10 +191,11 @@ unset($dbpasswd);
|
||||
$config = $cache->obtain_config();
|
||||
$dss_seeded = false;
|
||||
|
||||
// Warn about install/ directory
|
||||
if (file_exists($phpbb_root_path . 'install'))
|
||||
// Disable board if the install/ directory is still present
|
||||
if (file_exists($phpbb_root_path . 'install') && !defined('ADMIN_START'))
|
||||
{
|
||||
trigger_error('REMOVE_INSTALL');
|
||||
$message = (!empty($config['board_disable_msg'])) ? $config['board_disable_msg'] : 'BOARD_DISABLE';
|
||||
trigger_error($message);
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user