Categories
Security & Updates

Smarty Update 3.1.15 released

Smarty 3.1.15 has many bug fixes and improvements. 

Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. This implies that PHP code is application logic, and is separated from the presentation.

Changes Details

  • Use current delimiters in compiler error messages
  • Improvement on performance when using error handler and multiple template folders
  • Improvement added patch for additional SmartyCompilerException properties for better access to scource information 
  • Bugfix recompiled templates did not show on first request with zend opcache cache
  • Bugfix html_select_time defaulting error for the Meridian dropdown
  • Bugfix incorrect compiled code with array(object,method) callback at registered Variable Filter 
  • Bugfix delimiter followed by linebreak did not work as auto literal after update from 24.08.2013
  • Bugfix and enhancement 
  • Because several recent problems with template inheritance the {block} tag compiler has been rewriten
  • Error messages shown now the correct child template file and line number
  • The compiler could fail on some larger UTF-8 text block
  • The {strip} tag can now be placed outside {block} tags in child templates
  • Change SmartyException::$escape is now false by default
  • Change PHP traceback has been remove for SmartyException and SmartyCompilerException
  • Bugfix compiled filepath of config file did not observe different config_dir 
  • Bugfix the internal resource cache did not observe config_dir changes
  • Bugfix internal $tmpx variables must be unique over all inheritance templates
  • Bugfix a newline was eaten when a <?xml … ?> was passed by a Smarty variable and caching was enabled
  • Bugfix headers already send warning thrown when using ‘SMARTY_DEBUG=on’ from URL
  • Enhancement allow access to properties of registered opjects for Smarty2 BC
  • Bugfix template inheritance nesting problem
  • Update code generated by PSR-2 standards fixer which introduced PHP 5.4 incompatibilities of 14.7.2013
  • Bugfix increase of internal maximum parser stacksize to allow more complex tag code 
  • Update for PHP 5.4 compatibility
  • Reformat source to PSR-2 standard
  • Bugfix Do not remove ‘//’ from file path at normalization
  • Bugfix trimwhitespace would replace captured items in wrong order 

More Information

  • Start Smarty
    In order to use Smarty you need a domain name (ex. yoursite.com) and web hosting service.
    If you don’t have a domain name 
    Register a Domain Name.
    To install Smarty one of our hosting plans. (all our packages includes Softaculous).
  • Hosted Smarty
    Contact us if you don’t need a domain or hosting service, and want to use Smarty anyway.
[otw_is sidebar=otw-sidebar-7]

[otw_is sidebar=otw-sidebar-8]

Blog: News & Updates

[otw_is sidebar=otw-sidebar-5] [otw_is sidebar=otw-sidebar-6]
[otw_is sidebar=otw-sidebar-9]