Changeset 28637 in spip-zone


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

spip-meteo : exit test define options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/spip-meteo/meteo_options.php

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