Afficher un message
Vieux 16/10/2006, 00h11   #1
Marcus Bointon
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Selective compiled template deletion

I'm in an odd place - I need to call clear_compiled_tpl(), but I only
want to clear all compiled templates with a certain compile ID. From
the docs it looks like I either clear everything, or just a specific
template with a name AND a compile id. I need something in between -
can I do clear_compiled_tpl('', 'my_compile_id') to clear everything
with that compile ID?

My situation is that I have a web interface to an email sending
process and I'm having problems with stale compiled versions of email
templates, which have a compile ID, and I want to clear them all
without clearing the compiled templates for the web interface too.

Marcus
--
Marcus Bointon
Synchromedia Limited: Creators of http://www.smartmessages.net/
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk/
  Réponse avec citation
 
Page generated in 0,17265 seconds with 9 queries