- bugfix on expressions in doublequoted string enclosed in backticks

- added security property $static_classes for static class security
This commit is contained in:
Uwe.Tews
2010-02-24 18:01:03 +00:00
parent 7c9aed9299
commit 0426dd0459
5 changed files with 2625 additions and 1765 deletions

View File

@@ -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;
}
?>
?>