From f7732cb74ab890ed6963a8e105066a1050699b37 Mon Sep 17 00:00:00 2001 From: Kevin Cristiano Date: Sun, 29 Nov 2015 18:20:20 -0500 Subject: [PATCH] CRM-14987 add commented out option for CIVICRM_CMSDIR ---------------------------------------- * CRM-14987: WordPress cmsRootPath can incorrectly return unrelated CMS install https://issues.civicrm.org/jira/browse/CRM-14987 --- templates/CRM/common/civicrm.settings.php.template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/CRM/common/civicrm.settings.php.template b/templates/CRM/common/civicrm.settings.php.template index 10fbe26b91..abe7bf991b 100644 --- a/templates/CRM/common/civicrm.settings.php.template +++ b/templates/CRM/common/civicrm.settings.php.template @@ -218,6 +218,10 @@ if (!defined('CIVICRM_UF_BASEURL')) { // Disable automatic download / installation of extensions // $civicrm_setting['Extension Preferences']['ext_repo_url'] = false; + // Override the CMS root path defined by cmsRootPath. + // define('CIVICRM_CMSDIR', '/path/to/install/root/'); + + /** * If you are using any CiviCRM script in the bin directory that * requires authentication, then you also need to set this key. -- 2.25.1