Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Supprimer le cache de smarty ?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French
View previous topic :: View next topic  
Author Message
tuxboard
Smarty n00b


Joined: 16 Apr 2008
Posts: 3

PostPosted: Wed Apr 16, 2008 10:34 am    Post subject: Supprimer le cache de smarty ? Reply with quote

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
View user's profile Send private message
john 'le borgne'
Smarty Rookie


Joined: 15 Apr 2008
Posts: 9

PostPosted: Sun Apr 20, 2008 4:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
mumuri
Smarty Rookie


Joined: 06 Apr 2008
Posts: 27

PostPosted: Sun Jul 13, 2008 4:38 pm    Post subject: Reply with quote

est ce que tu ne confond pas avec la version compilé ?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP