mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 02:14:26 +02:00
- change properties $accessMap and $obsoleteProperties from private to protected
https://github.com/smarty-php/smarty/issues/351
This commit is contained in:
@@ -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
|
||||
|
@@ -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',);
|
||||
|
||||
|
Reference in New Issue
Block a user