~ubuntu-branches/debian/squeeze/spip/squeeze

« back to all changes in this revision

Viewing changes to ecrire/plugins/get_infos.php

  • Committer: Bazaar Package Importer
  • Author(s): Romain Beauxis
  • Date: 2010-09-18 15:08:53 UTC
  • mfrom: (11.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100918150853-2g8yh71duum53p5s
Added patch to fix int overflow
in articles' published date.
Thanks to David Prévot for reporting.
Closes: #597026 

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
        include_spip('inc/xml');
27
27
        static $infos=array();
28
28
        static $plugin_xml_cache=NULL;
29
 
        include_spip('inc/xml');
30
29
        // cas d'un appel en dehors du repertoire plugin
31
30
        // cette solution n'est pas ideale.
32
31
        if (!isset($infos[$dir_plugins][$plug]) OR $force_reload){
80
79
                                        $ret['licence'] = spip_xml_aplatit($arbre['licence']);
81
80
                                if (isset($arbre['install']))
82
81
                                        $ret['install'] = $arbre['install'];
 
82
                                if (isset($arbre['config']))
 
83
                                        $ret['config'] = spip_xml_aplatit($arbre['config']);
 
84
                                if (isset($arbre['meta']))
 
85
                                        $ret['meta'] = spip_xml_aplatit($arbre['meta']);
83
86
                                if (isset($arbre['fonctions']))
84
87
                                        $ret['fonctions'] = $arbre['fonctions'];
85
88
                                $ret['prefix'] = trim(array_pop($arbre['prefix']));