Changeset 28643 in spip-zone


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

spip-sondages : exit test define options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_test_/spip-sondages/sondages_options.php

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