|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
rudder Smarty Rookie
Joined: 20 Oct 2009 Posts: 14
|
Posted: Fri Nov 13, 2009 6:27 pm Post subject: array of template directories in smarty 3 |
|
|
U.Tews wrote: | There is an undocumented feature of Smarty. If you assign an array of folders to $smarty->template_dir it will seach the folders in the order of the array until it finds the template. |
Since the above is undocumented I'm not sure what the official position is, I was just wondering if smarty 3 supports the array of template_dirs, and if it doesn't currently, are there plans to do so?
I'm starting to make use of this and I want to make sure when we switch to Smarty 3 we'll be ok. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Fri Nov 13, 2009 6:44 pm Post subject: |
|
|
Yes this works in Smarty 3. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|