SmartyBundle icon indicating copy to clipboard operation
SmartyBundle copied to clipboard

template_dir configuration option only accepts a single scalar value

Open kick-the-bucket opened this issue 10 years ago • 1 comments

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.

kick-the-bucket avatar Feb 10 '15 09:02 kick-the-bucket

Hi @kick-the-bucket,

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

Thank you.

vitorbrandao avatar Feb 10 '15 22:02 vitorbrandao