CRM-14987 add commented out option for CIVICRM_CMSDIR
authorKevin Cristiano <kcristiano@tadpole.cc>
Sun, 29 Nov 2015 23:20:20 +0000 (18:20 -0500)
committerKevin Cristiano <kcristiano@tadpole.cc>
Sun, 29 Nov 2015 23:20:20 +0000 (18:20 -0500)
----------------------------------------
* 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

index 10fbe26b91dd92ce8fa610806c1d7a8f97123cb8..abe7bf991b059db3a17e591fa0dd17a0c6ef47d1 100644 (file)
@@ -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.