Ignore:
Timestamp:
Mar 30, 2006, 2:37:07 AM (18 years ago)
Author:
rvelices
Message:

fix: image_order cookie path fixed for url rewriting

improve: add function access_denied called when check_status or
check_restrictions fail

fix: french language correction

fix: remove php warnings in clean_iptc_value

split search functions into include/functions_search.inc.php

File:
1 edited

Legend:

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

    r858 r1113  
    66// +-----------------------------------------------------------------------+
    77// | branch        : BSF (Best So Far)
    8 // | file          : $RCSfile$
     8// | file          : $Id$
    99// | last update   : $Date$
    1010// | last modifier : $Author$
     
    3636{
    3737  $result = array();
    38  
     38
    3939  // Read IPTC data
    4040  $iptc = array();
    41  
     41
    4242  $imginfo = array();
    4343  getimagesize($filename, $imginfo);
    44  
     44
    4545  if (isset($imginfo['APP13']))
    4646  {
     
    8383{
    8484  // strip leading zeros (weird Kodak Scanner software)
    85   while ($value[0] == chr(0))
     85  while ( isset($value[0]) and $value[0] == chr(0))
    8686  {
    8787    $value = substr($value, 1);
     
    8989  // remove binary nulls
    9090  $value = str_replace(chr(0x00), ' ', $value);
    91  
     91
    9292  return $value;
    9393}
     
    108108    die('Exif extension not available, admin should disable exif use');
    109109  }
    110  
     110
    111111  // Read EXIF data
    112112  if ($exif = @read_exif_data($filename))
Note: See TracChangeset for help on using the changeset viewer.