Skip to content
Snippets Groups Projects
Commit 2faba5f4 authored by jurgenhaas's avatar jurgenhaas
Browse files

Correct the db prefix syntax for Drupal 7

parent b91797cc
Branches
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ $databases = array (
'password' => '{{ item.db.password|default(mysql_root_password|default("root")) }}',
'host' => '127.0.0.1',
'port' => '{{ item.db.port|default("3306") }}',
'prefix' => '{{ item.db.prefix|default("") }}',
),
),
{% for db in item.db.extra|default([]) %}
......@@ -20,11 +21,11 @@ $databases = array (
'password' => '{{ db.password|default(item.db.password|default(mysql_root_password|default("root"))) }}',
'host' => '127.0.0.1',
'port' => '{{ db.port|default("3306") }}',
'prefix' => '{{ db.prefix|default("") }}',
),
),
{% endfor %}
);
$db_prefix = '{{ item.db.prefix|default("") }}';
$update_free_access = FALSE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment