Changeset 29392


Ignore:
Timestamp:
Sep 3, 2014, 6:59:15 PM (10 years ago)
Author:
plg
Message:

bug 3134: hide warnings on exif_read_data to avoid breaking HTML5 upload

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/image.class.php

    r28587 r29392  
    242242    $rotation = 0;
    243243
    244     $exif = exif_read_data($source_filepath);
     244    $exif = @exif_read_data($source_filepath);
    245245
    246246    if (isset($exif['Orientation']) and preg_match('/^\s*(\d)/', $exif['Orientation'], $matches))
Note: See TracChangeset for help on using the changeset viewer.