noiselabs / SmartyBundle

Smarty3 template engine bundle for Symfony
http://smartybundle.readthedocs.io/
GNU Lesser General Public License v3.0
51 stars 36 forks source link

template_dir configuration option only accepts a single scalar value #44

Open kick-the-bucket opened 9 years ago

kick-the-bucket commented 9 years ago

It is stated in documentation, that template_dir configuration value may as well be an array of paths, but actually only a single scalar value is accepted, so an InvalidTypeException with message "Invalid type for path "smarty.options.template_dir". Expected scalar, but got array." is thrown when trying to provide an array of paths.

vitorbrandao commented 9 years ago

Hi @kick-the-bucket,

thanks for spotting that one. You're right. This will be fixed.

Thank you.