Changeset 68059 in spip-zone


Ignore:
Timestamp:
Dec 1, 2012, 11:53:20 PM (7 years ago)
Author:
eric@…
Message:

Report de 68058 : amélioration de l'autorisation ajouter_plugins.

Location:
_core_/plugins/svp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/svp/paquet.xml

    r68057 r68059  
    22        prefix="svp"
    33        categorie="maintenance"
    4         version="0.81.0"
     4        version="0.81.1"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.1.*]"
  • _core_/plugins/svp/svp_pipelines.php

    r68056 r68059  
    3939 */
    4040function autoriser_plugins_ajouter_dist($faire, $type, $id, $qui, $opt){
    41         return autoriser('webmestre');
     41        if (!defined('_AUTORISER_TELECHARGER_PLUGINS'))
     42                define('_AUTORISER_TELECHARGER_PLUGINS', true);
     43        return _AUTORISER_TELECHARGER_PLUGINS AND autoriser('webmestre');
    4244}
    4345
Note: See TracChangeset for help on using the changeset viewer.