1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/security/227] Remove "no thumbnail support" message

SECURITY-227
This commit is contained in:
Derky
2018-11-04 23:10:44 +01:00
parent d753351edc
commit e2d26e102d
3 changed files with 0 additions and 17 deletions

View File

@@ -233,16 +233,6 @@ class acp_attachments
$template->assign_var('S_ATTACHMENT_SETTINGS', true);
$supported_types = get_supported_image_types();
// Check Thumbnail Support
if (!isset($supported_types['format']) || !count($supported_types['format']))
{
$this->new_config['img_create_thumbnail'] = 0;
}
$template->assign_var('S_THUMBNAIL_SUPPORT', (!isset($supported_types['format']) || !count($supported_types['format'])) ? false : true);
// Secure Download Options - Same procedure as with banning
$allow_deny = ($this->new_config['secure_allow_deny']) ? 'ALLOWED' : 'DISALLOWED';