From aac107f59201556aff9fa0ddeb43cdc4e60c9658 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Mon, 11 Oct 2021 11:59:30 -0400 Subject: [PATCH] don't leave unreplaced variables behind --- drush/civicrm.drush.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drush/civicrm.drush.inc b/drush/civicrm.drush.inc index 4cc1c837a..1617224bb 100644 --- a/drush/civicrm.drush.inc +++ b/drush/civicrm.drush.inc @@ -482,6 +482,9 @@ function _civicrm_generate_settings_file($dbuser, $dbpass, $dbhost, $dbname, $mo 'CMSdbPass' => $db_spec['password'], 'CMSdbHost' => $db_spec['host'], 'CMSdbName' => $db_spec['database'], + // These two are only filled in when using the newer civicrm-setup. + 'dbSSL' => '', + 'CMSdbSSL' => '', 'siteKey' => preg_replace(';[^a-zA-Z0-9];', '', base64_encode(random_bytes(37))), 'credKeys' => 'aes-cbc:hkdf-sha256:' . preg_replace(';[^a-zA-Z0-9];', '', base64_encode(random_bytes(37))), 'signKeys' => 'jwt-hs256:hkdf-sha256:' . preg_replace(';[^a-zA-Z0-9];', '', base64_encode(random_bytes(37))),