mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 09:52:29 +02:00
- bug fixed : instead of showing a blank page when trying to use Exif tags
read function, display a message telling the problem git-svn-id: http://piwigo.org/svn/trunk@738 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -84,6 +84,11 @@ function update_metadata($files)
|
||||
|
||||
if ($conf['use_exif'])
|
||||
{
|
||||
if (!function_exists('read_exif_data'))
|
||||
{
|
||||
die('Exif extension not available, admin should disable exif use');
|
||||
}
|
||||
|
||||
if ($exif = @read_exif_data($file))
|
||||
{
|
||||
if (isset($exif['DateTime']))
|
||||
|
||||
Reference in New Issue
Block a user