clear_cache(null,$cache_id) doesn't work for me

From: Date: Fri, 14 Mar 2003 12:20:27 +0000
Subject: clear_cache(null,$cache_id) doesn't work for me
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8642@lists.php.net to get a copy of this message
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

« previous php.smarty.general (#8642) next »