re-include cache_paths on multiple calls to fetch() to avoid inconsistencies

at multiple calls to fetch() in one script
This commit is contained in:
messju
2003-09-01 18:42:12 +00:00
parent 579e0e61a6
commit 45b23b1581

View File

@@ -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);