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:
plegall
2014-09-03 16:59:15 +00:00
parent ab00c52430
commit 2125efc8ca

View File

@@ -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))
{