mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Feature Bug #45375 - Add option to disable remote upload avatars
Authorised by: AcydBurn git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9757 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1276,6 +1276,18 @@ function change_database_data(&$no_updates, $version)
|
||||
}
|
||||
}
|
||||
|
||||
if (!isset($config['allow_avatar_remote_upload']))
|
||||
{
|
||||
if ($config['allow_avatar_remote'] && $config['allow_avatar_upload'])
|
||||
{
|
||||
set_config('allow_avatar_remote_upload', '1');
|
||||
}
|
||||
else
|
||||
{
|
||||
set_config('allow_avatar_remote_upload', '0');
|
||||
}
|
||||
}
|
||||
|
||||
// Minimum number of characters
|
||||
if (!isset($config['min_post_chars']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user