Re: [SMARTY] 'Default' template directory?
| From: | boots | Date: | Thu, 26 Feb 2004 18:11:45 +0000 |
| Subject: | Re: [SMARTY] 'Default' template directory? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11030@lists.php.net to get a copy of this message | ||
--- Andreas Goetz <cpuidle@gmx.de> wrote:
> I think what I'm looking for is an array of template directories,
> providing the search order?
It is not officially supported, but template directory arrays are
recognized. So $smarty->templates_dir = array('path1', 'path2');
searches path1 and then path2 for templates. As I said, it is not
officially supported, but a few do use it (like me!) and it appears to
"work" on all platforms.
__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools