Re: [SMARTY] Compiled Templates in Database

From: Date: Sun, 17 Nov 2002 17:44:55 +0000
Subject: Re: [SMARTY] Compiled Templates in Database
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6458@lists.php.net to get a copy of this message
On Sun, Nov 17, 2002 at 11:36:44AM +0100, Manfred Stienstra wrote: > On Sunday 17 November 2002 07:58, Alberto Vasquez wrote: > > > Is it possible to do something similar to "cache_handler_func" to handle > > all compiled templates in a mysql database? I would like to have a > > solution where there is no need to write a file at all. Has anyone written > > a hack similar to this that could give me a path to approach. I'm having a > > hard time to find a solution for all the different setups (safe_mode > > mainly) that works for everbody. This would solve my problems > > > http://smarty.php.net/manual/en/section.template.cache.handler.func.html > > Please remind yourself that everything has already been done once. So look > before you leap :") > > Manfred Does this only work for the items that go in cache/ ? I think Alberto was asking about compiled templates that go in templates_c/, which would be very handy. I just set up the cache handler as in the manual, moving templates_c/ into the database would be perfect. I think I'll poke around some more. -Scott -- eventus stultorum magister

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