mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
IPTC mapping done in include/config.inc.php
git-svn-id: http://piwigo.org/svn/trunk@600 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -29,13 +29,9 @@ include_once(PHPWG_ROOT_PATH.'/include/functions_metadata.inc.php');
|
||||
|
||||
function get_sync_iptc_data($file)
|
||||
{
|
||||
$map = array(
|
||||
'keywords' => '2#025',
|
||||
'date_creation' => '2#055',
|
||||
'author' => '2#122',
|
||||
'name' => '2#085',
|
||||
'comment' => '2#120'
|
||||
);
|
||||
global $conf;
|
||||
|
||||
$map = $conf['use_iptc_mapping'];
|
||||
$datefields = array('date_creation', 'date_available');
|
||||
|
||||
$iptc = get_iptc_data($file, $map);
|
||||
|
||||
Reference in New Issue
Block a user