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

merge r6621 from branch 2.1 to trunk

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
  • trunk/admin/include/functions_upload.inc.php

    r6617 r6622  
    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.