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

zwei verschiedene caches

 
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: German
View previous topic :: View next topic  
Author Message
the-styler
Smarty Rookie


Joined: 12 Jul 2004
Posts: 25

PostPosted: Tue Oct 05, 2004 2:17 pm    Post subject: zwei verschiedene caches Reply with quote

Hallo,

ich habe ein kleines Problem. Und zwar verwende ich zwei caches. Einen für mein ACP und einen für meine normale Seite
Die Struktur der Ordner sieht so aus.

Hauptordner
- acp
-- cache
-- templates

- cache
- templates

Wenn ich mich jetzt im Ordner acp befinde und eine datei aus dem cache löschen möchte, dann löscht er die aus dem cache vom acp. ist ja auch logisch. aber wie kann ich ihm jetzt sagen, dass er nicht die datei aus diesem cache löschen soll, sondern aus dem anderen cache?
Back to top
View user's profile Send private message
kills
Smarty Elite


Joined: 28 May 2004
Posts: 493

PostPosted: Wed Oct 06, 2004 10:39 am    Post subject: Re: zwei verschiedene caches Reply with quote

the-styler wrote:
Hallo,

ich habe ein kleines Problem. Und zwar verwende ich zwei caches. Einen für mein ACP und einen für meine normale Seite
Die Struktur der Ordner sieht so aus.

Hauptordner
- acp
-- cache
-- templates

- cache
- templates

Wenn ich mich jetzt im Ordner acp befinde und eine datei aus dem cache löschen möchte, dann löscht er die aus dem cache vom acp. ist ja auch logisch. aber wie kann ich ihm jetzt sagen, dass er nicht die datei aus diesem cache löschen soll, sondern aus dem anderen cache?


ich würd einfach den Wert der Variable "template_dir" auf den anderen Ordner umsetzen und dann müsste die "clear_cache" funktion aus dem angegebenen Ordner entfernen.

@see http://smarty.php.net/manual/en/api.clear.cache.php
Back to top
View user's profile Send private message
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Wed Oct 06, 2004 11:12 am    Post subject: Reply with quote

ich denke, kills meint "cache_dir" nicht "template_dir".
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kills
Smarty Elite


Joined: 28 May 2004
Posts: 493

PostPosted: Wed Oct 06, 2004 4:38 pm    Post subject: Reply with quote

messju wrote:
ich denke, kills meint "cache_dir" nicht "template_dir".


ich denke, das ich die letzten tage total neben der Spur bin.
Sorry nochma ich habs schon wieder total verballert.....
Back to top
View user's profile Send private message
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: German 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