parent
2b15cc6ff2
commit
036a675581
|
@ -17,6 +17,8 @@ drupal_settings:
|
|||
database: mydatabase
|
||||
username: user
|
||||
password: secret
|
||||
config_directories: # Optional, Drupal 8
|
||||
sync: path/to/config
|
||||
trusted_hosts: # Optional, Drupal 8
|
||||
- '^example\.com$'
|
||||
- '^.+\.example\.com$'
|
||||
|
|
|
@ -23,6 +23,12 @@ $base_url = '{{ item.1.settings.base_url }}';
|
|||
$settings['hash_salt'] = '{{ item.1.settings.hash_salt }}';
|
||||
{% endif %}
|
||||
|
||||
{% if item.1.settings.config_directories is defined %}
|
||||
{% for name, value in item.1.settings.config_directories.iteritems() %}
|
||||
$cconfig_directories['{{ name }}'] = '{{ value }}';
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if item.1.settings.trusted_hosts is defined %}
|
||||
$settings['trusted_host_patterns'] = array(
|
||||
{% for host in item.1.settings.trusted_hosts %}
|
||||
|
|
Reference in a new issue