Skip to content

Commit

Permalink
Update Smarty.class.php
Browse files Browse the repository at this point in the history
Change **private** property `accessMap`, `obsoleteProperties` to **protected**. Refer issue smarty-php#351
  • Loading branch information
vuongxuongminh authored Apr 14, 2017
1 parent 6d85c71 commit dadaf0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/Smarty.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',);

Expand All @@ -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',);

Expand Down

0 comments on commit dadaf0b

Please sign in to comment.