'smarty_template_source' => true,
'smarty_template_compiled' => true,
'smarty_template_cached' => true,
+ 'smarty_template_config' => true,
'smarty_data' => true,
'smarty_variable' => true,
'smarty_undefined_variable' => true,
/**
* smarty version
*/
- const SMARTY_VERSION = '3.1.22';
+ const SMARTY_VERSION = '3.1.23';
/**
* define variable scopes
-3.1.22
\ No newline at end of file
+3.1.23
\ No newline at end of file
<?php
/**
- * Smarty Internal Plugin Compile Print Expression
+ * Smarty Internal Plugin Compile PHP Expression
* Compiles any tag which will output an expression or variable
*
* @package Smarty
*/
/**
- * Smarty Internal Plugin Compile Print Expression Class
+ * Smarty Internal Plugin Compile PHP Expression Class
*
* @package Smarty
* @subpackage Compiler
}
while (true) {
while (true) {
- $this->handler->populate($this, $_template);
- if ($this->exists === false || $_template->smarty->force_compile || $_template->smarty->force_cache) {
+ if ($this->exists === false || $_template->smarty->force_compile || $_template->smarty->force_cache) {
$this->valid = false;
} else {
$this->valid = true;
// lifetime expired
$this->valid = false;
}
+ if ($this->valid && $_template->source->timestamp > $this->timestamp) {
+ $this->valid = false;
+ }
if ($this->valid || !$_template->smarty->cache_locking) {
break;
}
$this->handler->acquireLock($_template->smarty, $this);
break 2;
}
+ $this->handler->populate($this, $_template);
}
if ($this->valid) {
if (!$_template->smarty->cache_locking || $this->handler->locked($_template->smarty, $this) === null) {
}
return $this->valid;
}
- return $this->valid = false;
+ return $this->valid;
}
/**
Unable to write log file, please make "<?php echo DNS_DIR; ?>/log/" writable!\r
<?php } else { ?>\r
<b>ID:</b> <code><?php echo $this->getExceptionID(); ?></code><br>\r
- <?php echo "Please send the ID above to the site administrator."; ?>\r
+ Please send the ID above to the site administrator.\r
<?php } ?>\r
</p>\r
</div>\r