Re: [SMARTY] Smarty 2.6.0 RC1 - Change in path handling

From: Date: Wed, 13 Aug 2003 10:39:18 +0000
Subject: Re: [SMARTY] Smarty 2.6.0 RC1 - Change in path handling
References: 1 2 3 4 5  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10053@lists.php.net to get a copy of this message
> > It's not necessairy to handle multiple template > > directories in an array. > > Granted there are other options, but the array approach is the most elegant > (imho) and worked previously (albeit undocumented), and is simple to restore > to functionality now. "Most elegant" is a point of view. In the array way, if you have some templates "index.tpl" in more than one directory, smarty takes the first it can find. If multiple template directories were defined as different strings you can point smarty to the template you want, even if this template name occure in more than one directory.

« previous php.smarty.general (#10053) next »