mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
raise max_level for $smarty.config... to 3 to allow arrays of config-vars
This commit is contained in:
@@ -1959,7 +1959,7 @@ class Smarty_Compiler extends Smarty {
|
|||||||
|
|
||||||
case 'config':
|
case 'config':
|
||||||
$compiled_ref = "\$this->_config[0]['vars']";
|
$compiled_ref = "\$this->_config[0]['vars']";
|
||||||
$_max_index = 2;
|
$_max_index = 3;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user