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.
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 changingsetPluginsDir()
toaddPluginsDir()
in constructor will do the trick.