Re: Xoops 2.33 RC - Bug Mise í jour du profil | Titre du sujet : Re: Xoops 2.33 RC - Bug Mise í jour du profil par RC78 sur 04/03/2009 21:58:28
Le probleme vient de header.php
Ajout de ceci :
// Sets cache time
if ( !empty($xoopsModule) ) {
$xoTheme->contentCacheLifetime = @$xoopsConfig['module_cache'][ $xoopsModule->getVar('mid', 'n') ];
// Tricky solution for setting cache time for homepage
} elseif (!empty($xoopsOption['template_main'])) {
$xoTheme->contentCacheLifetime = 604800;
}
Alors que avant nous avions ceci :
if ( $xoopsModule ) {
$xoTheme->contentCacheLifetime = @$xoopsConfig['module_cache'][ $xoopsModule->getVar('mid', 'n') ];
}
Il suffit donc de remplacer juste ceci en attendant
@+ Titi
|
|