Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

civicrm.settings.php.template - Simplify examples of $civicrm_setting #16636

Merged
merged 1 commit into from
Feb 27, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions templates/CRM/common/civicrm.settings.php.template
Original file line number Diff line number Diff line change
Expand Up @@ -241,43 +241,43 @@ if (!defined('CIVICRM_UF_BASEURL')) {
*/

// Override the Temporary Files directory.
// $civicrm_setting['Directory Preferences']['uploadDir'] = '/path/to/upload-dir' ;
// $civicrm_setting['domain']['uploadDir'] = '/path/to/upload-dir' ;

// Override the custom files upload directory.
// $civicrm_setting['Directory Preferences']['customFileUploadDir'] = '/path/to/custom-dir';
// $civicrm_setting['domain']['customFileUploadDir'] = '/path/to/custom-dir';

// Override the images directory.
// $civicrm_setting['Directory Preferences']['imageUploadDir'] = '/path/to/image-upload-dir' ;
// $civicrm_setting['domain']['imageUploadDir'] = '/path/to/image-upload-dir' ;

// Override the custom templates directory.
// $civicrm_setting['Directory Preferences']['customTemplateDir'] = '/path/to/template-dir';
// $civicrm_setting['domain']['customTemplateDir'] = '/path/to/template-dir';

// Override the Custom php path directory.
// $civicrm_setting['Directory Preferences']['customPHPPathDir'] = '/path/to/custom-php-dir';
// $civicrm_setting['domain']['customPHPPathDir'] = '/path/to/custom-php-dir';

// Override the extensions directory.
// $civicrm_setting['Directory Preferences']['extensionsDir'] = '/path/to/extensions-dir';
// $civicrm_setting['domain']['extensionsDir'] = '/path/to/extensions-dir';

// Override the resource url
// $civicrm_setting['URL Preferences']['userFrameworkResourceURL'] = 'http://example.com/example-resource-url/';
// $civicrm_setting['domain']['userFrameworkResourceURL'] = 'http://example.com/example-resource-url/';

// Override the Image Upload URL (System Settings > Resource URLs)
// $civicrm_setting['URL Preferences']['imageUploadURL'] = 'http://example.com/example-image-upload-url';
// $civicrm_setting['domain']['imageUploadURL'] = 'http://example.com/example-image-upload-url';

// Override the Custom CiviCRM CSS URL
// $civicrm_setting['URL Preferences']['customCSSURL'] = 'http://example.com/example-css-url' ;
// $civicrm_setting['domain']['customCSSURL'] = 'http://example.com/example-css-url' ;

// Override the extensions resource URL
// $civicrm_setting['URL Preferences']['extensionsURL'] = 'http://example.com/pathtoextensiondir'
// $civicrm_setting['domain']['extensionsURL'] = 'http://example.com/pathtoextensiondir'

// Disable display of Community Messages on home dashboard
// $civicrm_setting['CiviCRM Preferences']['communityMessagesUrl'] = false;
// $civicrm_setting['domain']['communityMessagesUrl'] = false;

// Disable automatic download / installation of extensions
// $civicrm_setting['Extension Preferences']['ext_repo_url'] = false;
// $civicrm_setting['domain']['ext_repo_url'] = false;

// set triggers to be managed offline per CRM-18212
// $civicrm_setting['CiviCRM Preferences']['logging_no_trigger_permission'] = 1;
// $civicrm_setting['domain']['logging_no_trigger_permission'] = 1;

// Override the CMS root path defined by cmsRootPath.
// define('CIVICRM_CMSDIR', '/path/to/install/root/');
Expand All @@ -287,7 +287,7 @@ if (!defined('CIVICRM_UF_BASEURL')) {
// "asks": requests for donations or membership signup/renewal to CiviCRM
// "releases": major release announcements
// "events": announcements of local/national upcoming events
// $civicrm_setting['CiviCRM Preferences']['communityMessagesUrl'] = 'https://alert.civicrm.org/alert?prot=1&ver={ver}&uf={uf}&sid={sid}&lang={lang}&co={co}&optout=offers,asks';
// $civicrm_setting['domain']['communityMessagesUrl'] = 'https://alert.civicrm.org/alert?prot=1&ver={ver}&uf={uf}&sid={sid}&lang={lang}&co={co}&optout=offers,asks';


/**
Expand Down