Re: [SMARTY] Caching & dynamic changing of cache_dir
| From: | Monte Ohrt | Date: | Sat, 29 Jun 2002 02:06:44 +0000 |
| Subject: | Re: [SMARTY] Caching & dynamic changing of cache_dir | ||
| References: | 1 2 3 4 5 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5089@lists.php.net to get a copy of this message | ||
It shouldn't do that, I'm not able to replicate your problem :(
Norbert Röcher wrote:
"Monte Ohrt" <monte@ispi.net> schrieb im Newsbeitrag news:3D1C63C3.9040605@ispi.net...So you prepend your blockID to the cache_id. Remember how they can have "|" separators now? $cache_id = "$blockID|foo"; So if you want to clear all the caches for a particular block: $smarty->clear_cache($blockID); Or a particular cache id for a particular block: $smarty->clear_cache("$blockID|foo");This would be very nice, but doesn't work, because Smarty wants to write to the root, like described in my other post. So I'm not able to use this... Norbert