mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
deny access to the posting page for bots...
git-svn-id: file:///svn/phpbb/trunk@7804 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -164,6 +164,10 @@ if ($post_data['forum_password'])
|
||||
}
|
||||
|
||||
// Check permissions
|
||||
if ($user->data['is_bot'])
|
||||
{
|
||||
redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
|
||||
}
|
||||
|
||||
// Is the user able to read within this forum?
|
||||
if (!$auth->acl_get('f_read', $forum_id))
|
||||
|
Reference in New Issue
Block a user