Changeset 104854 in spip-zone


Ignore:
Timestamp:
Jun 14, 2017, 8:57:56 AM (2 years ago)
Author:
erational@…
Message:

PSR + sécurité sur un vieux machin

Location:
_plugins_/onglets_texte/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/onglets_texte/trunk/onglets_texte_pipelines.php

    r87604 r104854  
    11<?php
    22
    3         $p = explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__))));
    4         define('_DIR_PLUGIN_ONGLETS_TEXTE',(_DIR_PLUGINS.end($p)));
     3if (!defined('_ECRIRE_INC_VERSION')) {
     4        return;
     5}
     6
     7
     8
     9$p = explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__))));
     10define('_DIR_PLUGIN_ONGLETS_TEXTE',(_DIR_PLUGINS.end($p)));
    511
    612function onglets_texte_insert_head($flux){
     
    1319        return $flux;
    1420}
    15 
    16 ?>
  • _plugins_/onglets_texte/trunk/paquet.xml

    r103864 r104854  
    22        prefix="onglets_texte"
    33        categorie="edition"
    4         version="2.0.2"
     4        version="2.0.3"
    55        etat="dev"
    66        compatibilite="[3.0.0;3.2.*]"
Note: See TracChangeset for help on using the changeset viewer.