Changeset 92824 in spip-zone


Ignore:
Timestamp:
Nov 10, 2015, 10:06:49 PM (5 years ago)
Author:
marcimat@…
Message:

Éviter un @

Location:
_core_/plugins/mediabox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/mediabox/mediabox_pipelines.php

    r90944 r92824  
    55function mediabox_config($public=null){
    66        include_spip("inc/filtres");
    7         $config = @unserialize($GLOBALS['meta']['mediabox']);
    8         if (!is_array($config))
    9                 $config = array();
     7        include_spip("inc/config");
     8        $config = lire_config('mediabox', array());
     9
    1010        $config = array_merge(array(
    1111                'active' => 'oui',
  • _core_/plugins/mediabox/paquet.xml

    r91212 r92824  
    22        prefix="mediabox"
    33        categorie="multimedia"
    4         version="0.10.2"
     4        version="0.10.3"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.