Changeset 28642 in spip-zone


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

spip-surcharges : exit test define options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/spip-surcharges/surcharges_options.php

    r28403 r28642  
    99
    1010
    11         if (!defined('_DIR_PLUGIN_SURCHARGES')) {
    12                 $p = explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__))));
    13                 define('_DIR_PLUGIN_SURCHARGES', (_DIR_PLUGINS.end($p)));
    14                 define('_NOM_PLUGIN_SURCHARGES', (end($p)));
    15         }
     11        $p = explode(basename(_DIR_PLUGINS)."/",str_replace('\\','/',realpath(dirname(__FILE__))));
     12        define('_DIR_PLUGIN_SURCHARGES', (_DIR_PLUGINS.end($p)));
     13        define('_NOM_PLUGIN_SURCHARGES', (end($p)));
    1614
    1715
Note: See TracChangeset for help on using the changeset viewer.