Changeset 28641 in spip-zone


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

spip-trad : exit test define options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/spip-trad/trad_options.php

    r28405 r28641  
    1414
    1515
    16         if (!defined('_DIR_PLUGIN_TRAD')) {
    17                 $p = explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__))));
    18                 define('_DIR_PLUGIN_TRAD', (_DIR_PLUGINS.end($p)));
    19                 define('_NOM_PLUGIN_TRAD', (end($p)));
    20         }
     16        $p = explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__))));
     17        define('_DIR_PLUGIN_TRAD', (_DIR_PLUGINS.end($p)));
     18        define('_NOM_PLUGIN_TRAD', (end($p)));
    2119
    2220
Note: See TracChangeset for help on using the changeset viewer.