Change array syntax

This commit is contained in:
Oliver Davies 2019-01-24 03:02:32 +00:00
parent bb9000c1cc
commit 13ee79633d

View file

@ -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 %}