ALTSYS 0.71 | Titre du sujet : ALTSYS 0.71 par M-Ali sur 20/09/2009 22:29:10
je viens d'installer le module ALTSYS 0.71 !
mais j'avais un problème au niveau de menu -> Languages
Il s'affiche l'erreur suivant au pied de page!
The overriding system cannot work with this XOOPS core except some D3 modules. If you want to enable it with this core, try to hack like this:
include/common.php
if ( file_exists(XOOPS_ROOT_PATH."/modules/"...."/main.php") ) {
include_once XOOPS_ROOT_PATH."/modules/"...."/main.php";
} else {
if ( file_exists(XOOPS_ROOT_PATH..../english/main.php") ) {
include_once XOOPS_ROOT_PATH..../english/main.php";
}
}
require_once XOOPS_TRUST_PATH."/libs/altsys/class/D3LanguageManager.class.php" ;
$langman =& D3LanguageManager::getInstance() ;
$langman->read( "main.php" , $xoopsModule->getVar("dirname") ) ;
Aidez-Moi !
Merci d'avance
|
|