Changeset 600 for trunk/admin


Ignore:
Timestamp:
Nov 10, 2004, 11:31:51 PM (20 years ago)
Author:
plg
Message:

IPTC mapping done in include/config.inc.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_metadata.php

    r593 r600  
    3030function get_sync_iptc_data($file)
    3131{
    32   $map = array(
    33     'keywords'        => '2#025',
    34     'date_creation'   => '2#055',
    35     'author'          => '2#122',
    36     'name'            => '2#085',
    37     'comment'         => '2#120'
    38     );
     32  global $conf;
     33 
     34  $map = $conf['use_iptc_mapping'];
    3935  $datefields = array('date_creation', 'date_available');
    4036 
Note: See TracChangeset for help on using the changeset viewer.