The bracket-syntax can be used from anywhere you can specify the file: resource type. If you are using a Windows machine, filepaths usually include a drive letter C: at the beginning of the pathname. Be sure to use file: in the path to avoid namespace conflicts and get the desired results. This page generated in 0.
Get Smarty Download. Links www. Smarty Icon You may use the Smarty logo according to the trademark notice. Sites Using Smarty. Chapter Smarty For Programmers Next. File Template Resources. Note As of Smarty 3. Example Templates from any directory. Find centralized, trusted content and collaborate around the technologies you use most. Connect and share knowledge within a single location that is structured and easy to search.
I'm sure that this question must have been asked before, but I can't for the life of me find it. Or maybe there's a good reason it hasn't been asked!? Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Smarty: get the current physical file path Ask Question. Asked 8 years, 3 months ago.
Active 8 years, 3 months ago. Viewed 8k times. In Smarty, is there a way to retrieve the current physical path of the template file? Add a comment. Active Oldest Votes.
0コメント