mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user