1
0
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:
Meik Sievertsen
2005-01-02 19:12:14 +00:00
parent 9c4b9d9dae
commit 52f17c49d7
2 changed files with 51 additions and 3 deletions

View File

@@ -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';
}