From: Tim Otten Date: Thu, 16 Jan 2020 01:22:05 +0000 (-0800) Subject: GenCode - Optionaly allow direct control over civicrm.config.php template X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=dc5f6c5060fb0fa3b6a5fa0e2a3bc265150da891;p=civicrm-core.git GenCode - Optionaly allow direct control over civicrm.config.php template --- diff --git a/CRM/Core/CodeGen/Config.php b/CRM/Core/CodeGen/Config.php index 8853913d98..aa50e05957 100644 --- a/CRM/Core/CodeGen/Config.php +++ b/CRM/Core/CodeGen/Config.php @@ -39,6 +39,10 @@ class CRM_Core_CodeGen_Config extends CRM_Core_CodeGen_BaseTask { * path to config template */ public function findConfigTemplate($cms) { + if (getenv('GENCODE_CONFIG_TEMPLATE')) { + return getenv('GENCODE_CONFIG_TEMPLATE'); + } + $candidates = []; switch ($cms) { case 'backdrop':