Changeset 31979 in spip-zone


Ignore:
Timestamp:
Oct 8, 2009, 8:11:36 PM (10 years ago)
Author:
prigent.yohann@…
Message:

comme c'est du fork, autant forker encore pour pouvoir garder _DIR_PLUGINS_SUPPL

Location:
_plugins_/multiplug
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/multiplug/inc/plugin.php

    r31900 r31979  
    2929        if (is_null($dir_plugins)) {
    3030                if (defined('_DIR_PLUGINS_SUPPL')) {
    31                         $dir_plugins = _DIR_PLUGINS_SUPPL.':'._DIR_PLUGINS;
     31                        $dir_plugins = _DIR_PLUGINS_FORK.':'_DIR_PLUGINS_SUPPL.':'._DIR_PLUGINS;
    3232                } else
    3333                $dir_plugins = _DIR_PLUGINS;
  • _plugins_/multiplug/multiplug_options.php

    r31942 r31979  
    33    AND is_dir(_DIR_RACINE.$GLOBALS['mutualisation_dir'].'/'.$GLOBALS['site'].'/'.'plugins/')
    44    AND in_array($GLOBALS['site'], $GLOBALS['multiplug_autorise']))
    5   define('_DIR_PLUGINS_SUPPL', _DIR_RACINE.$GLOBALS['mutualisation_dir'].'/'.$GLOBALS['site'].'/'.'plugins/');
     5  define('_DIR_PLUGINS_FORK', _DIR_RACINE.$GLOBALS['mutualisation_dir'].'/'.$GLOBALS['site'].'/'.'plugins/');
    66 
    77//define('_DIR_PLUGINS_SUPPL', _DIR_RACINE.'sites/'.'mamutu1.mon-site.tld/'.'plugins/'.':'._DIR_RACINE.'sites/'.'mamutu1.mon-site.tld/'.'core/');
Note: See TracChangeset for help on using the changeset viewer.