Ignore:
Timestamp:
Jun 29, 2010, 2:18:40 AM (14 years ago)
Author:
plg
Message:

bug 1742 fixed: if the EXIF functions are not available:

1) display a warning (but not an error)
2) avoid to try to read EXIF data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/admin/include/functions_upload.inc.php

    r6616 r6621  
    142142 
    143143  // update metadata from the uploaded file (exif/iptc)
     144  if ($conf['use_exif'] and !function_exists('read_exif_data'))
     145  {
     146    $conf['use_exif'] = false;
     147  }
    144148  update_metadata(array($image_id=>$file_path));
    145149 
Note: See TracChangeset for help on using the changeset viewer.