From 9496df8e1f34bf8aa96f049ce1e65dfbb64aaae5 Mon Sep 17 00:00:00 2001 From: uwetews Date: Sat, 31 Oct 2015 23:13:12 +0100 Subject: [PATCH] - bugfix add missing $trusted_dir property to SmartyBC class (forum topic 25751) --- change_log.txt | 5 ++++- libs/SmartyBC.class.php | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/change_log.txt b/change_log.txt index d13f422c..1be6ac27 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,7 +1,10 @@  ===== 3.1.28-dev===== (xx.xx.2015) + 31.10.2015 + - bugfix add missing $trusted_dir property to SmartyBC class (forum topic 25751) + 29.10.2015 - improve template scope handling - + 24.10.2015 - more optimizations of template processing - bugfix Error when using {include} within {capture} https://github.com/smarty-php/smarty/issues/100 diff --git a/libs/SmartyBC.class.php b/libs/SmartyBC.class.php index 76dd8bd0..1dd529c9 100644 --- a/libs/SmartyBC.class.php +++ b/libs/SmartyBC.class.php @@ -44,6 +44,13 @@ class SmartyBC extends Smarty */ public $_version = self::SMARTY_VERSION; + /** + * This is an array of directories where trusted php scripts reside. + * + * @var array + */ + public $trusted_dir = array(); + /** * Initialize new SmartyBC object *