mirror of
https://github.com/smarty-php/smarty.git
synced 2025-12-16 02:28:31 +01:00
- major update including some API changes
This commit is contained in:
@@ -25,6 +25,9 @@ class Smarty_Internal_Compile_Rdelim extends Smarty_Internal_CompileBase {
|
||||
{
|
||||
$this->compiler = $compiler;
|
||||
$_attr = $this->_get_attributes($args);
|
||||
if ($_attr['nocache'] === true) {
|
||||
$this->compiler->trigger_template_error('nocache option not allowed', $this->compiler->lex->taglineno);
|
||||
}
|
||||
// this tag does not return compiled code
|
||||
$this->compiler->has_code = true;
|
||||
return $this->compiler->smarty->right_delimiter;
|
||||
|
||||
Reference in New Issue
Block a user