projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d5b93c
)
GenCode - Optionaly allow direct control over civicrm.config.php template
author
Tim Otten
<totten@civicrm.org>
Thu, 16 Jan 2020 01:22:05 +0000
(17:22 -0800)
committer
Tim Otten
<totten@civicrm.org>
Tue, 28 Jan 2020 22:57:11 +0000
(14:57 -0800)
CRM/Core/CodeGen/Config.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/CodeGen/Config.php
b/CRM/Core/CodeGen/Config.php
index 8853913d98a40c8409a503663b6a1caa976cf015..aa50e059577a81794bd8228a966167b73b0d0910 100644
(file)
--- 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':