Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6.11
-
Fix Version/s: 4.7
-
Component/s: None
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
This is kind of an odd use case but we are calling the class api in tests and it is hitting an issue where 'CIVICRM_SETTINGS_PATH' is already defined
There is precedent elsewhere for putting that define in an IF so I'm going to add a patch to do that here too.
if (!defined('CIVICRM_SETTINGS_PATH'))
{ define('CIVICRM_SETTINGS_PATH', $config['conf_path'] . '/civicrm.settings.php'); }