Re: [SMARTY-DEV] (fwd) Little Smarty improvement
| From: | Mark Rogers | Date: | Thu, 13 Nov 2003 08:47:49 +0000 |
| Subject: | Re: [SMARTY-DEV] (fwd) Little Smarty improvement | ||
| References: | 1 2 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1925@lists.php.net to get a copy of this message | ||
messju writes:
> in your example "index.tpl" and "products/index.tpl" are still unique
> filenames if you don't change $smarty->template_dir. if you change
> $smarty->template_dir, you also have to change $smarty->compile_dir,
> though.
Presumably a simpler fix would be to include $smarty->template_dir in the
checksum? Or is there more to it than that?
Mark Rogers,
More Solutions Ltd