Changeset 88205 in spip-zone


Ignore:
Timestamp:
Mar 25, 2015, 8:13:55 AM (4 years ago)
Author:
ben.spip@…
Message:

trouver le dossier admin de thelia

Location:
_plugins_/plugin-thelia
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/plugin-thelia/exec/spip_thelia_catalogue.php

    r88169 r88205  
    1212
    1313        if (function_exists('lire_config')){
    14                 $thelia_url = '../' . _RACINE_THELIA . lire_config('spip_thelia/repadmin_spip_thelia', 'admin') . '/';
     14                $thelia_url = _DIR_RACINE . _RACINE_THELIA . lire_config('spip_thelia/repadmin_spip_thelia', 'admin') . '/';
    1515        } else {
    16                 $thelia_url = '../' . _RACINE_THELIA . _THELIA_ADMIN . '/';
     16                $thelia_url = _DIR_RACINE . _RACINE_THELIA . _THELIA_ADMIN . '/';
    1717        }
     18die $thelia_url ;
    1819
    1920        if (find_in_path($thelia_url)){
  • _plugins_/plugin-thelia/prive/squelettes/contenu/spip_thelia_catalogue.html

    r61629 r88205  
    1 #SET{thelia_url,'../'.#EVAL{_RACINE_THELIA}#CONFIG{spip_thelia/repadmin_spip_thelia,admin}}
     1#SET{thelia_url,#EVAL{_DIR_RACINE}#EVAL{_RACINE_THELIA}#CONFIG{spip_thelia/repadmin_spip_thelia,admin}}
    22
    33[(#GET{thelia_url}|find_in_path|oui)
Note: See TracChangeset for help on using the changeset viewer.