SmartyBundle
SmartyBundle copied to clipboard
template_dir configuration option only accepts a single scalar value
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.
Hi @kick-the-bucket,
thanks for spotting that one. You're right. This will be fixed.
Thank you.