Ignore:
Timestamp:
Oct 8, 2017, 6:56:51 PM (22 months ago)
Author:
spip.franck@…
Message:

En spip 3.2 report uniquement de la mise à jour de la lib getID en 1.9.14 (nous étions en 1.9.13) en attendant plus de tests concernant l'autre lib
https://zone.spip.org/trac/spip-zone/changeset/106591

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/branches/spip-3.2/plugins/medias/lib/getid3/module.archive.szip.php

    r85814 r106592  
    2525                $SZIPHeader = $this->fread(6);
    2626                if (substr($SZIPHeader, 0, 4) != "SZ\x0A\x04") {
    27                         $info['error'][] = 'Expecting "53 5A 0A 04" at offset '.$info['avdataoffset'].', found "'.getid3_lib::PrintHexBytes(substr($SZIPHeader, 0, 4)).'"';
     27                        $this->error('Expecting "53 5A 0A 04" at offset '.$info['avdataoffset'].', found "'.getid3_lib::PrintHexBytes(substr($SZIPHeader, 0, 4)).'"');
    2828                        return false;
    2929                }
     
    3131                $info['szip']['major_version'] = getid3_lib::BigEndian2Int(substr($SZIPHeader, 4, 1));
    3232                $info['szip']['minor_version'] = getid3_lib::BigEndian2Int(substr($SZIPHeader, 5, 1));
    33 $info['error'][] = 'SZIP parsing not enabled in this version of getID3() ['.$this->getid3->version().']';
     33$this->error('SZIP parsing not enabled in this version of getID3() ['.$this->getid3->version().']');
    3434return false;
    3535
Note: See TracChangeset for help on using the changeset viewer.