Re: [SMARTY] best way for path templates_c and cache
| From: | John Wards | Date: | Mon, 16 Jun 2003 09:56:26 +0000 |
| Subject: | Re: [SMARTY] best way for path templates_c and cache | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9718@lists.php.net to get a copy of this message | ||
On Monday 16 Jun 2003 10:26 am, Wilhelm Kutting wrote:
> could it be that i ran into trouble when i put the path of templates_c
> for a lot of websites inside the same dir?
How I do this is spilt my tempalte folder up inot directories for each site.
Then I call the display bit like this
$smarty->display("siteone/template.tpl");
$smarty->display("sitetwo/template.tpl");
No need for a garbage colector as each folder in template_c shoudl only
contain cache templates that you need.
John