mirror of
https://github.com/smarty-php/smarty.git
synced 2026-04-08 15:52:09 +02:00
- update config file processing
This commit is contained in:
@@ -2197,31 +2197,30 @@ class Smarty_Internal_Templateparser
|
||||
#line 905 "../smarty/lexer/smarty_internal_templateparser.y"
|
||||
function yy_r118()
|
||||
{
|
||||
$this->_retvalue = '$_smarty_tpl->smarty->ext->_config->_getConfigVariable($_smarty_tpl, \'' .
|
||||
$this->yystack[$this->yyidx + - 1]->minor . '\')';
|
||||
$this->_retvalue =
|
||||
$this->compiler->compileConfigVariable("'" . $this->yystack[$this->yyidx + - 1]->minor . "'");
|
||||
}
|
||||
|
||||
#line 909 "../smarty/lexer/smarty_internal_templateparser.y"
|
||||
function yy_r119()
|
||||
{
|
||||
$this->_retvalue = '(is_array($tmp = $_smarty_tpl->smarty->ext->_config->_getConfigVariable($_smarty_tpl, \'' .
|
||||
$this->yystack[$this->yyidx + - 2]->minor . '\')) ? $tmp' . $this->yystack[$this->yyidx + 0]->minor .
|
||||
' :null)';
|
||||
$this->_retvalue = '(is_array($tmp = ' .
|
||||
$this->compiler->compileConfigVariable("'" . $this->yystack[$this->yyidx + - 2]->minor . "'") . ') ? $tmp' .
|
||||
$this->yystack[$this->yyidx + 0]->minor . ' :null)';
|
||||
}
|
||||
|
||||
#line 913 "../smarty/lexer/smarty_internal_templateparser.y"
|
||||
function yy_r120()
|
||||
{
|
||||
$this->_retvalue = '$_smarty_tpl->smarty->ext->_config->_getConfigVariable($_smarty_tpl, ' .
|
||||
$this->yystack[$this->yyidx + - 1]->minor . ')';
|
||||
$this->_retvalue = $this->compiler->compileConfigVariable($this->yystack[$this->yyidx + - 1]->minor);
|
||||
}
|
||||
|
||||
#line 917 "../smarty/lexer/smarty_internal_templateparser.y"
|
||||
function yy_r121()
|
||||
{
|
||||
$this->_retvalue = '(is_array($tmp = $_smarty_tpl->smarty->ext->_config->_getConfigVariable($_smarty_tpl, ' .
|
||||
$this->yystack[$this->yyidx + - 2]->minor . ')) ? $tmp' . $this->yystack[$this->yyidx + 0]->minor .
|
||||
' : null)';
|
||||
$this->_retvalue =
|
||||
'(is_array($tmp = ' . $this->compiler->compileConfigVariable($this->yystack[$this->yyidx + - 2]->minor) .
|
||||
') ? $tmp' . $this->yystack[$this->yyidx + 0]->minor . ' : null)';
|
||||
}
|
||||
|
||||
#line 921 "../smarty/lexer/smarty_internal_templateparser.y"
|
||||
|
||||
Reference in New Issue
Block a user