mirror of
https://github.com/smarty-php/smarty.git
synced 2025-12-14 09:38:26 +01:00
- bugfix on expressions in doublequoted string enclosed in backticks
- added security property $static_classes for static class security
This commit is contained in:
@@ -44,6 +44,15 @@ class Smarty_Security {
|
||||
public $trusted_dir = array();
|
||||
|
||||
|
||||
/**
|
||||
* This is an array of trusted static classes.
|
||||
*
|
||||
* If empty access to all static classes is allowed.
|
||||
* If set to 'none' none is allowed.
|
||||
* @var array
|
||||
*/
|
||||
public $static_classes = array();
|
||||
|
||||
/**
|
||||
* This is an array of trusted PHP functions.
|
||||
*
|
||||
@@ -85,4 +94,4 @@ class Smarty_Security {
|
||||
public $allow_php_tag = false;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user