Fork me on GitHub

Rapport de message :*
 

Re: Variables XOOPS

Titre du sujet : Re: Variables XOOPS
par alain01 sur 15/11/2013 12:59:46

ha, j'ai trouvé ça :

// load mainfile.php
$current_path dirname(__FILE__);
if ( 
DIRECTORY_SEPARATOR != "/" ) {
    
$current_path str_replaceDIRECTORY_SEPARATOR"/"$current_path);
}
$xoops_root_path substr($current_path0strpos(strtolower($current_path), "/class/xoopseditor/tinymce4/"));
include_once 
$xoops_root_path "/mainfile.php";


ça te semble correcte, sachant que le fichier config.php se trouve sous :

/class/xoopseditor/tinymce4/external_plugins/filemanager/config ?
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

43 Personne(s) en ligne (30 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 43 | Plus ...