mathmarques / Smarty-View

Slim Framework 3 view layer built on top of Smarty
MIT License
24 stars 15 forks source link

Setting pluginsDir key in constructor resets default plugin dir #4

Closed void99 closed 8 years ago

void99 commented 8 years ago

When passing pluginsDir parameter to constructor, default Smarty plugins dir setting is being dropped, so Smarty could not find its default plugins (ie. default modifier). I think changing setPluginsDir() to addPluginsDir() in constructor will do the trick.

mathmarques commented 8 years ago

Thanks! Fixed on 1.1.1!