diff --git a/templates/settings.php.j2 b/templates/settings.php.j2 index b756d5b..647f6c4 100644 --- a/templates/settings.php.j2 +++ b/templates/settings.php.j2 @@ -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 %}