From 45b23b158134a9c4172922a9e23390c423daa6a3 Mon Sep 17 00:00:00 2001 From: messju Date: Mon, 1 Sep 2003 18:42:12 +0000 Subject: [PATCH] re-include cache_paths on multiple calls to fetch() to avoid inconsistencies at multiple calls to fetch() in one script --- libs/Smarty.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 39a0fc64..0bf15a64 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -1193,7 +1193,7 @@ class Smarty if(!$this->force_compile && file_exists($this->_cache_paths_file)) { - include_once($this->_cache_paths_file); + include($this->_cache_paths_file); } $_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(error_reporting() & ~E_NOTICE);