Ignore:
Timestamp:
Feb 3, 2010, 8:05:04 PM (11 years ago)
Author:
arno@…
Message:

Suppression des ereg.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/metadonnees_photo/photo_infos_fonctions.php

    r26277 r34889  
    1515    $xmpdata = substr($source,$xmpdata_start,$xmplenght+12);
    1616   
    17     if (eregi("aux:Lens=\"([^\"]*)\"", $xmpdata, $regs)) {
     17    if (mb_eregi("aux:Lens=\"([^\"]*)\"", $xmpdata, $regs)) {
    1818                return $regs[1];
    1919    }
    20     if (eregi("<aux:Lens>([^<]*)<\/aux:Lens>", $xmpdata, $regs)) {
     20    if (mb_eregi("<aux:Lens>([^<]*)<\/aux:Lens>", $xmpdata, $regs)) {
    2121                return $regs[1];
    2222    }
     
    203203       
    204204
    205         if ($iptc["copyright"]) $iptc["copyright"] = eregi_replace("\(c\)", "©", $iptc["copyright"]);
     205        if ($iptc["copyright"]) $iptc["copyright"] = mb_eregi_replace("\(c\)", "©", $iptc["copyright"]);
    206206       
    207207        if ($type) return $iptc["$type"];
Note: See TracChangeset for help on using the changeset viewer.