We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5319c3b + dca3682 commit 284ada8Copy full SHA for 284ada8
admin/helpers/api.php
@@ -14,7 +14,9 @@
14
jimport('joomla.application.component.helper');
15
class CivicrmHelperApi {
16
function civiInit() {
17
- define('CIVICRM_SETTINGS_PATH', JPATH_BASE . DS . 'administrator' . DS . 'components' . DS . 'com_civicrm' . DS . 'civicrm.settings.php');
+ if (!defined('CIVICRM_SETTINGS_PATH')) {
18
+ define('CIVICRM_SETTINGS_PATH', JPATH_BASE . '/components/com_civicrm/civicrm.settings.php');
19
+ }
20
require_once CIVICRM_SETTINGS_PATH;
21
22
require_once 'CRM/Core/Config.php';
0 commit comments