mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
parent
b43a521488
commit
a84dee60e1
@ -180,9 +180,6 @@ function create_thumbnail($source, $new_file, $mimetype)
|
||||
imagecopyresampled($new_image, $image, 0, 0, 0, 0, $new_width, $new_height, $width, $height);
|
||||
}
|
||||
|
||||
// Устанавливаем тип содержимого в заголовок
|
||||
header('Content-Type: ' . $mimetype);
|
||||
|
||||
switch ($type['format'])
|
||||
{
|
||||
case IMG_GIF:
|
||||
|
Loading…
Reference in New Issue
Block a user