Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Update smarty to version 3.1.27 #12807
What does it do ?
Remove all files in core/model/smarty/ and add all files of the current smarty release 3.1.27.
Why is it needed ?
a) To keep up to date with major improvements in the library (speed etc.) and b) to avoid possible issues with no available PHP 7.
Just marginally #12797 as the PHP 7 Compatibility checker also lists one smarty class which could be an issue in PHP7 (unconfirmed)
Stuff to be aware of
On my git installation this switch to the current version works without any hickups, the problem for me is that I'm not very familiar with smarty and thus may not be able to test this properly...in my case the manager works exactly like before, cleared the cache folder manually and extensively browsed the manager, but yeah, that's kinda "hobby" testing so if anybody has some concerns about this update, please let me know how I can test this PR better!
Some Smarty method signature changed, making
I believe adding a default
Also, it appears Smarty became more "strict" and now rises warnings when trying to access undefined variables/indexes :