Changeset 28638 in spip-zone


Ignore:
Timestamp:
May 14, 2009, 12:12:19 PM (12 years ago)
Author:
pierre.basson@…
Message:

spip-lettres : exit test define options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/spip-lettres/lettres_options.php

    r28379 r28638  
    1414
    1515
    16         if (!defined('_DIR_PLUGIN_LETTRE_INFORMATION')) {
    17                 $p = explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__))));
    18                 define('_DIR_PLUGIN_LETTRE_INFORMATION', (_DIR_PLUGINS.end($p)));
    19                 define('_NOM_PLUGIN_LETTRE_INFORMATION', (end($p)));
    20                 define('_DIR_LETTRES', _DIR_IMG.'lettres/');
    21         }
     16        $p = explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__))));
     17        define('_DIR_PLUGIN_LETTRE_INFORMATION', (_DIR_PLUGINS.end($p)));
     18        define('_NOM_PLUGIN_LETTRE_INFORMATION', (end($p)));
     19        define('_DIR_LETTRES', _DIR_IMG.'lettres/');
    2220
    2321
Note: See TracChangeset for help on using the changeset viewer.