Add hash_salt
This commit is contained in:
parent
ed24f4f363
commit
2b15cc6ff2
|
@ -8,6 +8,7 @@ drupal_settings:
|
||||||
filename: settings.php # Optional, defaults to 'settings.php'
|
filename: settings.php # Optional, defaults to 'settings.php'
|
||||||
settings:
|
settings:
|
||||||
base_url: https://www.example.com # Optional, Drupal 7
|
base_url: https://www.example.com # Optional, Drupal 7
|
||||||
|
hash_salt: '' # Optional
|
||||||
databases:
|
databases:
|
||||||
default: # The database key
|
default: # The database key
|
||||||
default: # The database target
|
default: # The database target
|
||||||
|
|
|
@ -19,6 +19,10 @@ $databases['{{ key }}']['{{ target }}'] = array(
|
||||||
$base_url = '{{ item.1.settings.base_url }}';
|
$base_url = '{{ item.1.settings.base_url }}';
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if item.1.settings.hash_salt is defined %}
|
||||||
|
$settings['hash_salt'] = '{{ item.1.settings.hash_salt }}';
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if item.1.settings.trusted_hosts is defined %}
|
{% if item.1.settings.trusted_hosts is defined %}
|
||||||
$settings['trusted_host_patterns'] = array(
|
$settings['trusted_host_patterns'] = array(
|
||||||
{% for host in item.1.settings.trusted_hosts %}
|
{% for host in item.1.settings.trusted_hosts %}
|
||||||
|
|
Reference in a new issue