This commit is contained in:
Uwe Tews
2015-01-22 04:07:58 +01:00
parent 1a781b39b1
commit e4e3e176c0

View File

@@ -35,6 +35,7 @@ Smarty 3.1.22
To disable access for all methods of all classes set $trusted_static_methods = null; To disable access for all methods of all classes set $trusted_static_methods = null;
The default value is an empty array() which does enables all methods of all classes, but for backward compatibility The default value is an empty array() which does enables all methods of all classes, but for backward compatibility
the setting of $static_classes will be checked. the setting of $static_classes will be checked.
Note: That this security check is performed at compile time.
- trusted static properties - - trusted static properties -
The Smarty_Security class has the new property $trusted_static_properties to restrict access to static properties. The Smarty_Security class has the new property $trusted_static_properties to restrict access to static properties.
@@ -47,6 +48,7 @@ Smarty 3.1.22
To disable access for all properties of all classes set $trusted_static_properties = null; To disable access for all properties of all classes set $trusted_static_properties = null;
The default value is an empty array() which does enables all properties of all classes, but for backward compatibility The default value is an empty array() which does enables all properties of all classes, but for backward compatibility
the setting of $static_classes will be checked. the setting of $static_classes will be checked.
Note: That this security check is performed at compile time.