Re: [SMARTY] best way for path templates_c and cache
| From: | Katana | Date: | Mon, 16 Jun 2003 09:45:20 +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-9717@lists.php.net to get a copy of this message | ||
WK> i do not know where is the best way to config the path of
WK> templates_c and the cache dir on a linux system.
Here is my setup:
html/ <= doc root
templates/
httpd_data/smarty_templates_c/
httpd_data/smarty_cache/
WK> could it be that i ran into trouble when i put the path of
WK> templates_c for a lot of websites inside the same dir?
Yes, you would run into troubles since compiled templates with
the same name would overwrite themselves.
WK> and is there any garbage collector what kills the old
WK> template_c files.
No
Katana