Re: [SMARTY-DEV] Possbile bug?
| From: | Monte Ohrt | Date: | Mon, 17 Mar 2003 23:30:47 +0000 |
| Subject: | Re: [SMARTY-DEV] Possbile bug? | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-975@lists.php.net to get a copy of this message | ||
As long as you have a separate compile_dir and cache_dir for each
template_dir, you should see no conflicts.
Monte
On Mon, 2003-03-17 at 17:44, lmulcahy@pacbrands.com.au wrote:
> Hi,
>
> It appears that if you have a website that uses just one directory for each
> of template cache and output cache and you have two templates with the same
> name (ie. 2 'header.tpl's) that they battle it out in the template cache
> and depending on how each of the pages are requested by users you can end
> up having the wrong cached template compile called by scripts. Perhaps to
> combat this the cache could be identified by something more unique than
> just filename?. This problem was identified while running v2.3.1 and still
> appears evident in 2.4.2. I'm only 95% sure this is the problem, but all
> evidence seems to point in this direction.
>
> Could any of you developers confirm whether what I'm saying is likely to
> occur and if so, is it still an issue in the current unstable?
>
> Thanks
> Lachlan
--
Monte Ohrt <monte@ispi.net>