Skip to content
Snippets Groups Projects
Commit 0550a759 authored by jurgenhaas's avatar jurgenhaas
Browse files

Update temp path settings for Drupal 8.8+

parent 774fd553
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,8 @@ $settings['container_yamls'][] = __DIR__ . '/services.yml';
$settings['install_profile'] = '{{ item.install_profile|default("standard") }}';
$settings['file_public_path'] = 'sites/{{ item.shortname|default("default") }}/files';
$settings['file_private_path'] = 'sites/{{ item.shortname|default("default") }}/private';
$settings['file_temp_path'] = {% if drupal.jail is defined %}is_dir('{{ jailroot }}/{{ drupal.jail.name }}/tmp') ? '{{ jailroot }}/{{ drupal.jail.name }}/tmp' : '/tmp'{% else %}'/tmp'{% endif %};
{% if reverse_proxy_ips|default(false) %}
$settings['reverse_proxy'] = TRUE;
$settings['reverse_proxy_addresses'] = array("{{ reverse_proxy_ips|join('","') }}","127.0.0.1");
......@@ -52,6 +54,7 @@ $settings['trusted_host_patterns'] = array(
{% endfor %}
);
// As soon as Drupal 8.8+ will be used everywhere, the following line can be removed.
$config['system.file']['path']['temporary'] = {% if drupal.jail is defined %}is_dir('{{ jailroot }}/{{ drupal.jail.name }}/tmp') ? '{{ jailroot }}/{{ drupal.jail.name }}/tmp' : '/tmp'{% else %}'/tmp'{% endif %};
{% for key in drupal_config_directories %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment