mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44: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
|
if(!$this->force_compile
|
||||||
&& file_exists($this->_cache_paths_file)) {
|
&& 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);
|
$_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(error_reporting() & ~E_NOTICE);
|
||||||
|
Reference in New Issue
Block a user