Re: [SMARTY] Relative includes?
| From: | Panu | Date: | Tue, 21 Dec 2004 13:12:24 +0000 |
| Subject: | Re: [SMARTY] Relative includes? | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12063@lists.php.net to get a copy of this message | ||
Dieter Erdmann wrote:
Well I do it like this (in my smarty-setup file) $this->Smarty(); $this->template_dir = 'templates/'.$themedir."/"; $themedir being a value passed to it. PanuMake the subdir your Smarty template dir.Hmmm the whole point is actually to have a directory hierarchy in my project. I don't want to put all templates in the same directory...