diff options
author | plegall <plg@piwigo.org> | 2004-11-10 22:31:51 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2004-11-10 22:31:51 +0000 |
commit | f57020b3cb57c64a0082a1fc6fac49d73250f5d6 (patch) | |
tree | 1cdc42bec4f15d9c0b8392f837969f4f8f497625 /admin/include | |
parent | e2d5742a75ffee92e99bd7d618b59cca47a5e026 (diff) |
IPTC mapping done in include/config.inc.php
git-svn-id: http://piwigo.org/svn/trunk@600 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/include/functions_metadata.php | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/admin/include/functions_metadata.php b/admin/include/functions_metadata.php index e7eb5effd..3872718fa 100644 --- a/admin/include/functions_metadata.php +++ b/admin/include/functions_metadata.php @@ -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); |