mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-09 18:23:18 +02:00
Fix Feature Issue ID 0000585.
Convergence of exif configuration between local site and remote site. Notes added on administration page where configuration is not OK. git-svn-id: http://piwigo.org/svn/trunk@1682 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -310,7 +310,7 @@ $conf['show_exif_fields'] = array(
|
||||
|
||||
// use_exif: Use EXIF data during database synchronization with files
|
||||
// metadata
|
||||
$conf['use_exif'] = false;
|
||||
$conf['use_exif'] = true;
|
||||
|
||||
// use_exif_mapping: same behaviour as use_iptc_mapping
|
||||
$conf['use_exif_mapping'] = array(
|
||||
|
||||
@@ -32,13 +32,8 @@
|
||||
|
||||
include_once(PHPWG_ROOT_PATH.'/include/functions_metadata.inc.php');
|
||||
$template->assign_block_vars('metadata', array());
|
||||
if ($conf['show_exif'])
|
||||
if (($conf['show_exif']) and (function_exists('read_exif_data')))
|
||||
{
|
||||
if (!function_exists('read_exif_data'))
|
||||
{
|
||||
die('Exif extension not available, admin should disable exif display');
|
||||
}
|
||||
|
||||
if ($exif = @read_exif_data($picture['current']['image_path']))
|
||||
{
|
||||
$exif = trigger_event('format_exif_data', $exif, $picture['current'] );
|
||||
|
||||
Reference in New Issue
Block a user