[prev in list] [next in list] [prev in thread] [next in thread]
List: smarty-general
Subject: [SMARTY] clear_cache(null,$cache_id) doesn't work for me
From: Gabriel Birke <birke () kontor4 ! de>
Date: 2003-03-14 12:20:27
[Download RAW message or body]
Hello!
I have two php pages, index.php and admin.php
In index.php i have the line
$smarty->display("new_template.tpl","b3|no_session");
This creates the path /b3/no_session/ in my cache dir. Inside the path
there are some dirs that begin with %%-. Inside them are the cached
templates.
now I want to type a new news item in admin.php. After the item is
written to the database, i call
$smarty->clear_cache(null,"b3");
But nothing happens to the files inside cache/b3/no_session/
What am I doing wrong?
It doesn't matter if I call clear_all_cache() or clear_cache() in
admin.php.
With best regards
Gabriel Birke
--
KONTOR4_Neue Medien
Nelkenstrasse 3
31515 Wunstorf
Germany
+49 5031-955234
+49 5031-955231
mailto:birke@kontor4.de
http://www.kontor4.de
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic