mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-29 04:39:56 +03:00
fixes #1770 no specific need to detect TIFF files
This commit is contained in:
parent
f7e44cc14e
commit
b04befd2b4
1 changed files with 0 additions and 6 deletions
|
@ -161,7 +161,6 @@ function add_uploaded_file($source_filepath, $original_filename=null, $categorie
|
|||
}
|
||||
|
||||
$file_path = null;
|
||||
$is_tiff = false;
|
||||
|
||||
if (isset($image_id))
|
||||
{
|
||||
|
@ -218,11 +217,6 @@ SELECT
|
|||
{
|
||||
$file_path.= 'gif';
|
||||
}
|
||||
elseif (IMAGETYPE_TIFF_MM == $type or IMAGETYPE_TIFF_II == $type)
|
||||
{
|
||||
$is_tiff = true;
|
||||
$file_path.= 'tif';
|
||||
}
|
||||
elseif (IMAGETYPE_JPEG == $type)
|
||||
{
|
||||
$file_path.= 'jpg';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue