diff options
Diffstat (limited to 'admin/include')
-rw-r--r-- | admin/include/functions_metadata.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/admin/include/functions_metadata.php b/admin/include/functions_metadata.php index 8e2d27a16..ad45aca12 100644 --- a/admin/include/functions_metadata.php +++ b/admin/include/functions_metadata.php @@ -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'])) |