- update config file processing

This commit is contained in:
uwetews
2015-11-01 02:58:27 +01:00
parent 8a78038181
commit cc3f69a2a3
11 changed files with 196 additions and 112 deletions

View File

@@ -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"