Re: [SMARTY] Caching & dynamic changing of cache_dir

From: Date: Sat, 29 Jun 2002 01:43:20 +0000
Subject: Re: [SMARTY] Caching & dynamic changing of cache_dir
References: 1 2 3 4  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-5088@lists.php.net to get a copy of this message
"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

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