MrAnchovy / Kohana_Smarty3

Integration of Smarty v3 with the Kohana PHP Framework
25 stars 13 forks source link

templates outside of default application views directory #8

Open prakash opened 12 years ago

prakash commented 12 years ago

how can I set the template directory outside of /application/views or may be on /themes

MrAnchovy commented 12 years ago

That is not currently supported, but:

MrAnchovy commented 12 years ago

Thought about this a bit more, it would be a simple change to have the directory set in config/smarty.php. In fact there is no reason this should not be an array - the results are cached so there is no penalty. I will fix it.