mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
fixed handling of nocache-state
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user