diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 533488cd..095ac707 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -571,6 +571,13 @@ class Smarty */ var $_cache_serials = array(); + /** + * name of optional cache include file + * + * @var string + */ + var $_cache_include = null; + /** * cached file paths * diff --git a/libs/Smarty_Compiler.class.php b/libs/Smarty_Compiler.class.php index 96b87506..49648cc7 100644 --- a/libs/Smarty_Compiler.class.php +++ b/libs/Smarty_Compiler.class.php @@ -80,7 +80,7 @@ class Smarty_Compiler extends Smarty { var $_obj_params_regexp = null; var $_obj_call_regexp = null; - var $_cacheable_state = true; + var $_cacheable_state = 0; var $_nocache_count = 0; var $_cache_serial = null; var $_cache_include = null;