From 2975839a7eb54861f2888424ead65f96a4fdac27 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Wed, 6 Jun 2018 16:16:59 +0200 Subject: [PATCH] Support optional basepath for Drupal 7 --- templates/d7_settings.php.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/d7_settings.php.jinja2 b/templates/d7_settings.php.jinja2 index fd7868b..f5aa555 100644 --- a/templates/d7_settings.php.jinja2 +++ b/templates/d7_settings.php.jinja2 @@ -30,7 +30,7 @@ $databases = array ( $update_free_access = FALSE; {% if not item.multidomain|default(false) %} -$base_url = '{{ item.protocol|default("https") }}://{{ item.domain }}'; +$base_url = '{{ item.protocol|default("https") }}://{{ item.domain }}{{ item.basepath|default("") }}'; $cookie_domain = '{{ item.domain }}'; {% endif %} -- GitLab