mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
bug 3134: hide warnings on exif_read_data to avoid breaking HTML5 upload
git-svn-id: http://piwigo.org/svn/trunk@29392 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -241,7 +241,7 @@ class pwg_image
|
||||
|
||||
$rotation = 0;
|
||||
|
||||
$exif = exif_read_data($source_filepath);
|
||||
$exif = @exif_read_data($source_filepath);
|
||||
|
||||
if (isset($exif['Orientation']) and preg_match('/^\s*(\d)/', $exif['Orientation'], $matches))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user