-
Notifications
You must be signed in to change notification settings - Fork 54
Add support for multiple templates dirs #29
Comments
Maybe for conformance with Slim setting |
Currently, I am modifying it on the fly
|
@ikhsan017 I know that I can change the loader, but why use this "trick" when the configuration can be setted in the Slim constructor? This modify only affect Twig, for other template engine you can continue to use a string. |
|
I fully agree with you @raxell we will be revisiting this for Slim 3 as View will manage their own config at that point. What would you suggest for the current Slim 2.4.* builds? |
Can you add support for setting multiple templares dirs? Twig already support it, why don't add it to this lib?
Simply edit in Slim\Views\Twig:
The text was updated successfully, but these errors were encountered: