1
0
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:
Meik Sievertsen
2007-06-27 16:02:41 +00:00
parent 190f35c456
commit d57a16ad69
2 changed files with 8 additions and 2 deletions

View File

@@ -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))