From 3e5cf67c7b05f54fae3a3b4995e4df3405679efd Mon Sep 17 00:00:00 2001 From: Phil Tyler Date: Tue, 10 Dec 2024 10:41:27 -0800 Subject: [PATCH] Auth Tag1 D7ES module on Pantheon --- includes/bootstrap.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 0fc307a260..19b6501b98 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -766,6 +766,12 @@ function drupal_settings_initialize() { if (file_exists(DRUPAL_ROOT . '/' . conf_path() . '/settings.php')) { include_once DRUPAL_ROOT . '/' . conf_path() . '/settings.php'; } + + // Auth Tag1 D7ES module on Pantheon + if (getenv('PANTHEON_D7ES_API_KEY')) { + $conf['tag1_d7es_billing_email'] = getenv('PANTHEON_D7ES_API_KEY'); + } + $is_https = drupal_is_https(); // Load environmental config, if present.