Change array syntax
This commit is contained in:
parent
bb9000c1cc
commit
13ee79633d
|
@ -4,13 +4,13 @@
|
|||
|
||||
{% for key, values in item.1.settings.databases.iteritems() %}
|
||||
{% for target, values in values.iteritems() %}
|
||||
$databases['{{ key }}']['{{ target }}'] = [
|
||||
$databases['{{ key }}']['{{ target }}'] = array(
|
||||
'driver' => '{{ values.driver|default('mysql') }}',
|
||||
'host' => '{{ values.host|default('localhost') }}',
|
||||
'database' => '{{ values.database }}',
|
||||
'username' => '{{ values.username }}',
|
||||
'password' => '{{ values.password }}',
|
||||
];
|
||||
);
|
||||
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
|
Reference in a new issue