From: Jen Lampton Date: Wed, 16 Dec 2015 01:03:57 +0000 (-0800) Subject: Add Backdrop support in CodeGen. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=be2c3268440e98e95f51e29ffa00d70d82927ec5;p=civicrm-core.git Add Backdrop support in CodeGen. --- diff --git a/CRM/Core/CodeGen/Config.php b/CRM/Core/CodeGen/Config.php index b31b172128..2dd6e211cb 100644 --- a/CRM/Core/CodeGen/Config.php +++ b/CRM/Core/CodeGen/Config.php @@ -16,6 +16,7 @@ class CRM_Core_CodeGen_Config extends CRM_Core_CodeGen_BaseTask { public function setupCms() { if (!in_array($this->config->cms, array( + 'backdrop', 'drupal', 'drupal8', 'joomla', @@ -51,6 +52,12 @@ class CRM_Core_CodeGen_Config extends CRM_Core_CodeGen_BaseTask { public function findConfigTemplate($cms) { $candidates = array(); switch ($cms) { + case 'backdrop': + // FIXME!!!! + $candidates[] = "../drupal/civicrm.config.php.backdrop"; + $candidates[] = "../../drupal/civicrm.config.php.backdrop"; + break; + case 'drupal': $candidates[] = "../drupal/civicrm.config.php.drupal"; $candidates[] = "../../drupal/civicrm.config.php.drupal";