mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-01 02:52:50 +02:00
fixes #1770 no specific need to detect TIFF files
This commit is contained in:
@@ -161,7 +161,6 @@ function add_uploaded_file($source_filepath, $original_filename=null, $categorie
|
|||||||
}
|
}
|
||||||
|
|
||||||
$file_path = null;
|
$file_path = null;
|
||||||
$is_tiff = false;
|
|
||||||
|
|
||||||
if (isset($image_id))
|
if (isset($image_id))
|
||||||
{
|
{
|
||||||
@@ -218,11 +217,6 @@ SELECT
|
|||||||
{
|
{
|
||||||
$file_path.= 'gif';
|
$file_path.= 'gif';
|
||||||
}
|
}
|
||||||
elseif (IMAGETYPE_TIFF_MM == $type or IMAGETYPE_TIFF_II == $type)
|
|
||||||
{
|
|
||||||
$is_tiff = true;
|
|
||||||
$file_path.= 'tif';
|
|
||||||
}
|
|
||||||
elseif (IMAGETYPE_JPEG == $type)
|
elseif (IMAGETYPE_JPEG == $type)
|
||||||
{
|
{
|
||||||
$file_path.= 'jpg';
|
$file_path.= 'jpg';
|
||||||
|
|||||||
Reference in New Issue
Block a user