diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-01-03 18:15:22 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-01-03 18:15:22 +0100 |
commit | 08ab0a51e77e99f0318ebd198d9569679e4a24f8 (patch) | |
tree | 3d71366fc29310116771bc57bc47b561255c3a5b /application/libraries/Image.php | |
parent | 6fb7f2bb97b18a7e3bd066d0d83bca1b1b81d2a0 (diff) |
Ignore exif_read_data warnings/errors
This can throw warnings while also returning orientation info (amongst
others). The rest of the code can handle missing values just fine so
whatever.
I give up.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries/Image.php')
-rw-r--r-- | application/libraries/Image.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/libraries/Image.php b/application/libraries/Image.php index 7366f750b..32c4717e9 100644 --- a/application/libraries/Image.php +++ b/application/libraries/Image.php @@ -55,7 +55,7 @@ class Image { // http://stackoverflow.com/a/8864064 return false; } - return exif_read_data($file); + return @exif_read_data($file); break; default: } |