mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
- make use of new get_supported_image_types format
- added mysql 4.1.x support for database size git-svn-id: file:///svn/phpbb/trunk@5040 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -578,8 +578,10 @@ if ($mode == 'attach')
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
$supported_types = get_supported_image_types();
|
||||
|
||||
// Check Thumbnail Support
|
||||
if (!$new['img_imagick'] && !count(get_supported_image_types()))
|
||||
if (!$new['img_imagick'] && (!isset($supported_types['format']) || !sizeof($supported_types['format'])))
|
||||
{
|
||||
$new['img_create_thumbnail'] = '0';
|
||||
}
|
||||
|
Reference in New Issue
Block a user