mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/security/227] Remove "no thumbnail support" message
SECURITY-227
This commit is contained in:
parent
d753351edc
commit
e2d26e102d
3 changed files with 0 additions and 17 deletions
|
@ -37,12 +37,6 @@
|
||||||
|
|
||||||
<!-- IF S_ATTACHMENT_SETTINGS -->
|
<!-- IF S_ATTACHMENT_SETTINGS -->
|
||||||
|
|
||||||
<!-- IF not S_THUMBNAIL_SUPPORT -->
|
|
||||||
<div class="errorbox">
|
|
||||||
<p>{L_NO_THUMBNAIL_SUPPORT}</p>
|
|
||||||
</div>
|
|
||||||
<!-- ENDIF -->
|
|
||||||
|
|
||||||
<form id="attachsettings" method="post" action="{U_ACTION}">
|
<form id="attachsettings" method="post" action="{U_ACTION}">
|
||||||
<!-- BEGIN options -->
|
<!-- BEGIN options -->
|
||||||
<!-- IF options.S_LEGEND -->
|
<!-- IF options.S_LEGEND -->
|
||||||
|
|
|
@ -233,16 +233,6 @@ class acp_attachments
|
||||||
|
|
||||||
$template->assign_var('S_ATTACHMENT_SETTINGS', true);
|
$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
|
// Secure Download Options - Same procedure as with banning
|
||||||
$allow_deny = ($this->new_config['secure_allow_deny']) ? 'ALLOWED' : 'DISALLOWED';
|
$allow_deny = ($this->new_config['secure_allow_deny']) ? 'ALLOWED' : 'DISALLOWED';
|
||||||
|
|
||||||
|
|
|
@ -133,7 +133,6 @@ $lang = array_merge($lang, array(
|
||||||
'NO_EXT_GROUP_SPECIFIED' => 'No extension group specified.',
|
'NO_EXT_GROUP_SPECIFIED' => 'No extension group specified.',
|
||||||
'NO_FILE_CAT' => 'None',
|
'NO_FILE_CAT' => 'None',
|
||||||
'NO_IMAGE' => 'No image',
|
'NO_IMAGE' => 'No image',
|
||||||
'NO_THUMBNAIL_SUPPORT' => 'Thumbnail support has been disabled. For proper functionality the GD extension needs to be available.',
|
|
||||||
'NO_UPLOAD_DIR' => 'The upload directory you specified does not exist.',
|
'NO_UPLOAD_DIR' => 'The upload directory you specified does not exist.',
|
||||||
'NO_WRITE_UPLOAD' => 'The upload directory you specified cannot be written to. Please alter the permissions to allow the webserver to write to it.',
|
'NO_WRITE_UPLOAD' => 'The upload directory you specified cannot be written to. Please alter the permissions to allow the webserver to write to it.',
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue