Skip to content

Commit

Permalink
Merge pull request civicrm#28 from colemanw/4.4
Browse files Browse the repository at this point in the history
CRM-13694 - Check if CIVICRM_SETTINGS_PATH already defined
  • Loading branch information
colemanw committed Nov 8, 2013
2 parents 12247df + ba93e4e commit 0214792
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion civicrm.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@

// define commonly used items as constants
define( 'CIVICRM_PLUGIN_DIR', plugin_dir_path(__FILE__) );
define( 'CIVICRM_SETTINGS_PATH', CIVICRM_PLUGIN_DIR . 'civicrm.settings.php' );
if (!defined('CIVICRM_SETTINGS_PATH')) {
define( 'CIVICRM_SETTINGS_PATH', CIVICRM_PLUGIN_DIR . 'civicrm.settings.php' );
}

// prevent CiviCRM from rendering its own header
define( 'CIVICRM_UF_HEAD', TRUE );
Expand Down

0 comments on commit 0214792

Please sign in to comment.