diff --git a/change_log.txt b/change_log.txt index b5326ead9..4ed9ff204 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,7 +1,11 @@ ===== 3.1.32 - dev === +19.5.2017 + - change properties $accessMap and $obsoleteProperties from private to protected + https://github.com/smarty-php/smarty/issues/351 + 24.4.2017 - fix spelling https://github.com/smarty-php/smarty/commit/e3eda8a5f5653d8abb960eb1bc47e3eca679b1b4#commitcomment-21803095 - + 17.4.2017 - correct generated code on empty() and isset() call, observe change PHP behaviour since PHP 5.5 https://github.com/smarty-php/smarty/issues/347 diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 76e0489ca..92aaed2c4 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -108,7 +108,7 @@ class Smarty extends Smarty_Internal_TemplateBase /** * smarty version */ - const SMARTY_VERSION = '3.1.32-dev-1'; + const SMARTY_VERSION = '3.1.32-dev-3'; /** * define variable scopes @@ -726,7 +726,7 @@ class Smarty extends Smarty_Internal_TemplateBase * * @var string[] */ - private $obsoleteProperties = array('resource_caching', 'template_resource_caching', 'direct_access_security', + protected $obsoleteProperties = array('resource_caching', 'template_resource_caching', 'direct_access_security', '_dir_perms', '_file_perms', 'plugin_search_order', 'inheritance_merge_compiled_includes', 'resource_cache_mode',); @@ -735,7 +735,7 @@ class Smarty extends Smarty_Internal_TemplateBase * * @var string[] */ - private $accessMap = array('template_dir' => 'TemplateDir', 'config_dir' => 'ConfigDir', + protected $accessMap = array('template_dir' => 'TemplateDir', 'config_dir' => 'ConfigDir', 'plugins_dir' => 'PluginsDir', 'compile_dir' => 'CompileDir', 'cache_dir' => 'CacheDir',);