From: Eileen Date: Fri, 10 Jul 2015 02:32:42 +0000 (+1200) Subject: add d8 to candidtate - this might not be final plan, but gets setup.sh to 'chug along' X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6de76322a93bcc98f583d6d3f7cf4ea74e707516;p=civicrm-core.git add d8 to candidtate - this might not be final plan, but gets setup.sh to 'chug along' --- diff --git a/CRM/Core/CodeGen/Config.php b/CRM/Core/CodeGen/Config.php index ab8f866372..b31b172128 100644 --- a/CRM/Core/CodeGen/Config.php +++ b/CRM/Core/CodeGen/Config.php @@ -17,6 +17,7 @@ class CRM_Core_CodeGen_Config extends CRM_Core_CodeGen_BaseTask { public function setupCms() { if (!in_array($this->config->cms, array( 'drupal', + 'drupal8', 'joomla', 'wordpress', ))) { @@ -55,6 +56,11 @@ class CRM_Core_CodeGen_Config extends CRM_Core_CodeGen_BaseTask { $candidates[] = "../../drupal/civicrm.config.php.drupal"; break; + case 'drupal8': + $candidates[] = "../../modules/civicrm/civicrm.config.php.drupal"; + $candidates[] = "../../../modules/civicrm/civicrm.config.php.drupal"; + break; + case 'wordpress': $candidates[] = "../../civicrm.config.php.wordpress"; $candidates[] = "../WordPress/civicrm.config.php.wordpress";