From 54d5d949de72aad394b30a11c443cee9fae104d0 Mon Sep 17 00:00:00 2001 From: "Uwe.Tews@googlemail.com" Date: Wed, 8 Jan 2014 21:16:06 +0000 Subject: [PATCH] - bugfix SmartyBC.class.php should use require_once to load Smarty.class.php (forum topic 24683) --- change_log.txt | 1 + libs/SmartyBC.class.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/change_log.txt b/change_log.txt index 1daa35e9..cf6130bf 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,6 +1,7 @@ ===== trunk ===== 08.01.2014 - bugfix Smarty_CacheResource_Custom did not handle template resource type specifications on clearCache() calls (Issue 161) + - bugfix SmartyBC.class.php should use require_once to load Smarty.class.php (forum topic 24683) ===== 3.1.16 ===== 15.12.2013 diff --git a/libs/SmartyBC.class.php b/libs/SmartyBC.class.php index 32f22289..3c1a0aa9 100644 --- a/libs/SmartyBC.class.php +++ b/libs/SmartyBC.class.php @@ -32,7 +32,7 @@ /** * @ignore */ -require(dirname(__FILE__) . '/Smarty.class.php'); +require_once(dirname(__FILE__) . '/Smarty.class.php'); /** * Smarty Backward Compatability Wrapper Class