mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8517 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
0bb09825c8
commit
76250ca55a
2 changed files with 4 additions and 2 deletions
|
@ -97,6 +97,7 @@
|
||||||
<li>[Fix] Update correct theme for cached styles in style.php (Bug #25805)</li>
|
<li>[Fix] Update correct theme for cached styles in style.php (Bug #25805)</li>
|
||||||
<li>[Fix] Also add PHPBB_INSTALLED check to download/file.php for inline avatar delivery</li>
|
<li>[Fix] Also add PHPBB_INSTALLED check to download/file.php for inline avatar delivery</li>
|
||||||
<li>[Fix] Unable to login to some jabber server, reverted previous change (Bug #25095)</li>
|
<li>[Fix] Unable to login to some jabber server, reverted previous change (Bug #25095)</li>
|
||||||
|
<li>[Fix] Do not return BMP as valid image type for GD image manipulation (Bug #25925)</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<a name="v300"></a><h3>1.ii. Changes since 3.0.0</h3>
|
<a name="v300"></a><h3>1.ii. Changes since 3.0.0</h3>
|
||||||
|
|
|
@ -524,6 +524,8 @@ function get_supported_image_types($type = false)
|
||||||
|
|
||||||
if ($type !== false)
|
if ($type !== false)
|
||||||
{
|
{
|
||||||
|
// Type is one of the IMAGETYPE constants - it is fetched from getimagesize()
|
||||||
|
// We do not use the constants here, because some were not available in PHP 4.3.x
|
||||||
switch ($type)
|
switch ($type)
|
||||||
{
|
{
|
||||||
// GIF
|
// GIF
|
||||||
|
@ -545,8 +547,7 @@ function get_supported_image_types($type = false)
|
||||||
$new_type = ($format & IMG_PNG) ? IMG_PNG : false;
|
$new_type = ($format & IMG_PNG) ? IMG_PNG : false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// BMP, WBMP
|
// WBMP
|
||||||
case 6:
|
|
||||||
case 15:
|
case 15:
|
||||||
$new_type = ($format & IMG_WBMP) ? IMG_WBMP : false;
|
$new_type = ($format & IMG_WBMP) ? IMG_WBMP : false;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue