Changeset 738


Ignore:
Timestamp:
Feb 13, 2005, 1:49:52 PM (19 years ago)
Author:
plg
Message:
  • bug fixed : instead of showing a blank page when trying to use Exif tags read function, display a message telling the problem
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions_metadata.php

    r730 r738  
    8585    if ($conf['use_exif'])
    8686    {
     87      if (!function_exists('read_exif_data'))
     88      {
     89        die('Exif extension not available, admin should disable exif use');
     90      }
     91     
    8792      if ($exif = @read_exif_data($file))
    8893      {
  • trunk/picture.php

    r734 r738  
    804804  if ($conf['show_exif'])
    805805  {
     806    if (!function_exists('read_exif_data'))
     807    {
     808      die('Exif extension not available, admin should disable exif display');
     809    }
     810   
    806811    if ($exif = @read_exif_data($picture['current']['src']))
    807812    {
Note: See TracChangeset for help on using the changeset viewer.