|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
tuxboard Smarty n00b
Joined: 16 Apr 2008 Posts: 3
|
Posted: Wed Apr 16, 2008 10:34 am Post subject: Supprimer le cache de smarty ? |
|
|
J'aimerais savoir quel est le moyen à part : $smarty->caching = 0; de supprimer le cache des pages générées.
J'ai mis $smarty->caching = 0; partout avant les display dans mes pages ex :
$smarty->caching = 0;
$smarty->display('game.tpl');
mais cela ne fait rien du tout.
Meme l'option par défaut dans la class smarty est à 0, alors pourquoi génère t-il ces pages ??
Merci pour vos réponses |
|
Back to top |
|
john 'le borgne' Smarty Rookie
Joined: 15 Apr 2008 Posts: 9
|
Posted: Sun Apr 20, 2008 4:27 pm Post subject: |
|
|
bonjour,
tu es certain que ce n'est pas un ancien fichier cache ?
car passer de
$smarty->caching = true;
à $smarty->caching = false
ne supprime pas les fichiers déja en cache
simplement, les appels suivant ne le seront plus, eux, en cache
a+
john |
|
Back to top |
|
mumuri Smarty Rookie
Joined: 06 Apr 2008 Posts: 27
|
Posted: Sun Jul 13, 2008 4:38 pm Post subject: |
|
|
est ce que tu ne confond pas avec la version compilé ? |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|