Ignore:
Timestamp:
Apr 4, 2012, 12:47:01 PM (8 years ago)
Author:
cedric@…
Message:

Renommage de extensions en plugins_dist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/langonet/langonet_fonctions.php

    r52889 r60100  
    4545        $rep_plugins = lister_dossiers_plugins();
    4646        // Recuperation des repertoires des extensions
    47         $rep_extensions = lister_dossiers_plugins(_DIR_EXTENSIONS);
     47        $rep_extensions = lister_dossiers_plugins(defined('_DIR_PLUGINS_DIST')?_DIR_PLUGINS_DIST:_DIR_EXTENSIONS);
    4848        // Recuperation des repertoires SPIP et squelettes
    4949        if (strlen($GLOBALS['dossier_squelettes'])) {
     
    8282                }
    8383                else if (in_array($rep, $rep_extensions)) {
    84                         $reel_dir = _DIR_EXTENSIONS . $rep;
     84                        $reel_dir = (defined('_DIR_PLUGINS_DIST')?_DIR_PLUGINS_DIST:_DIR_EXTENSIONS) . $rep;
    8585                        $ou_fichier = str_replace('../', '', $reel_dir) . '/';
    8686                }
Note: See TracChangeset for help on using the changeset viewer.