/**
* CiviCRM Configuration File.
*/
+global $civicrm_root, $civicrm_setting, $civicrm_paths;
/**
* Content Management System (CMS) Host:
define( 'CIVICRM_UF_DSN' , 'mysql://%%CMSdbUser%%:%%CMSdbPass%%@%%CMSdbHost%%/%%CMSdbName%%?new_link=true');
}
+// %%extraSettings%%
+
/**
* CiviCRM Database Settings
*
*
* Uncomment and edit the below as appropriate.
*/
- // Add this line only once above any settings overrides.
- // global $civicrm_setting;
// Override the Temporary Files directory.
// $civicrm_setting['Directory Preferences']['uploadDir'] = '/path/to/upload-dir' ;
define( 'CIVICRM_DOMAIN_ID', 1);
}
+/**
+ * Setting to define the environment in which this CiviCRM instance is running.
+ * Note the setting here must be value from the option group 'Environment',
+ * (see Administration > System Settings > Option Groups, Options beside Environment)
+ * which by default has three option values: 'Production', 'Staging', 'Development'.
+ * NB: defining a value for environment here prevents it from being set
+ * via the browser.
+ */
+// $civicrm_setting['domain']['environment'] = 'Production';
+
/**
* Settings to enable external caching using a cache server. This is an
* advanced feature, and you should read and understand the documentation
if ( function_exists('variable_get') && variable_get('clean_url', '0') != '0') {
define('CIVICRM_CLEANURL', 1 );
}
+ elseif ( function_exists('config_get') && config_get('system.core', 'clean_url') != 0) {
+ define('CIVICRM_CLEANURL', 1 );
+ }
else {
define('CIVICRM_CLEANURL', 0);
}