Answers.Body: <p>Most properties of <code>CRM_Core_Config</code> are now handled through the settings layer. For documentation about settings, use the <code>Setting.getfields</code> API, e.g.</p>
  
  <pre><code>cv api setting.getfields
  </code></pre>
  
  <p>Under the hood, this metadata is stored in <code>settings/*.setting.php</code>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-30T01:30:48.647Z
Answers.LastActivityDate: 2016-12-30T01:30:48.647Z
Answers.UserDisplayName: Tim Otten
Answers.Body: <p>In CiviCRM 4.6, but not in later versions, <a href="https://github.com/civicrm/civicrm-core/blob/4.6/CRM/Core/Config/Variables.php" rel="nofollow noreferrer">the source</a> documents the following configuration variables:</p>
  
  <p><code>$debug = 0;
  $backtrace = 0;
  $smartyDir = NULL;
  $pluginsDir = NULL;
  $templateDir = NULL;
  $resourceBase = NULL;
  $uploadDir = NULL;
  $imageUploadDir = NULL;
  $customFileUploadDir = NULL;
  $imageUploadURL = NULL;
  $extensionsDir;
  $extensionsURL = NULL;
  $cleanURL = FALSE;
  $countryLimit = array('1228');
  $defaultContactStateProvince;
  $provinceLimit = array('1228');
  $defaultContactCountry = '1228';
  $defaultCurrency = 'USD';
  $lcMessages = 'en_US';
  $dateformatDatetime = '%B %E%f, %Y %l:%M %P';
  $dateformatFull = '%B %E%f, %Y';
  $dateformatPartial = '%B %Y';
  $dateformatYear = '%Y';
  $dateformatTime = '%l:%M %P';
  $timeInputFormat = 1;
  $dateInputFormat = 'mm/dd/yy';
  $fiscalYearStart = array(
  $moneyformat = '%c %a';
  $moneyvalueformat = '%!i';
  $currencySymbols = '';
  $defaultCurrencySymbol = '$';
  $monetaryDecimalPoint = '.';
  $monetaryThousandSeparator = ',';
  $gettextCodeset = 'utf-8';
  $gettextDomain = 'civicrm';
  $gettextResourceDir = './l10n/';
  $userFramework = 'Drupal';
  $userFrameworkVersion = 'Unknown';
  $userFrameworkUsersTableName = 'users';
  $userFrameworkClass = 'CRM_Utils_System_Drupal';
  $userHookClass = 'CRM_Utils_Hook_Drupal';
  $userPermissionClass = 'CRM_Core_Permission_Drupal';
  $userPermissionTemp = NULL;
  $userFrameworkURLVar = 'q';
  $userFrameworkDSN = NULL;
  $userFrameworkBaseURL = NULL;
  $userFrameworkResourceURL = NULL;
  $userFrameworkFrontend = FALSE;
  $userFrameworkLogging = FALSE;
  $maxImportFileSize = 1048576;
  $maxFileSize = 2;
  $localeCustomStrings = NULL;
  $mapProvider = NULL;
  $mapAPIKey = NULL;
  $geoProvider = NULL;
  $geoAPIKey = NULL;
  $geocodeMethod = '';
  $mapGeoCoding = 1;
  $logging = FALSE;
  $empoweredBy = TRUE;
  $enableComponents = array(
  $enableComponentIDs = array(1, 6, 2, 3, 4, 8);
  $enableSSL = FALSE;
  $fatalErrorTemplate = 'CRM/common/fatal.tpl';
  $fatalErrorHandler = NULL;
  $legacyEncoding = 'Windows-1252';
  $fieldSeparator = ',';
  $maxLocationBlocks = 2;
  $captchaFontPath = '/usr/X11R6/lib/X11/fonts/';
  $captchaFont = 'HelveticaBold.ttf';
  $includeWildCardInName = 1;
  $includeEmailInName = 1;
  $includeNickNameInName = 0;
  $smartGroupCacheTimeout = 5;
  $defaultSearchProfileID = NULL;
  $dashboardCacheTimeout = 1440;
  $doNotResetCache = 0;
  $includeAlphabeticalPager = 1;
  $includeOrderByClause = 1;
  $oldInputStyle = 1;
  $formKeyDisable = FALSE;
  $inCiviCRM = FALSE;
  $componentRegistry = NULL;
  $doNotAttachPDFReceipt = FALSE;
  $wkhtmltopdfPath = FALSE;
  $secondDegRelPermissions = FALSE;
  $wpBasePage = NULL;
  </code></p>
  
  <p>The 4.7 equivalent source is <a href="https://github.com/civicrm/civicrm-core/blob/4.7.15-rc/CRM/Core/Config/MagicMerge.php" rel="nofollow noreferrer">here</a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-29T05:48:04.107Z
Answers.LastActivityDate: 2016-12-29T05:48:04.107Z
Answers.UserDisplayName: ErichBSchulz
Body: <p>This is changing between 4.6 and 4.7.</p>
  
  <p>Where is the best place to see what each setting does?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-12-29T05:48:52.063Z
Comments.Text: I've made some notes based on my poking around as a community wiki - please feel free to edit my answer or post your own!
Comments.UserDisplayName: ErichBSchulz
Tags: <php><civicrm.settings.php>
Title: configuration variables: where is the documentation?
ThreadText: # configuration variables: where is the documentation?
  
  (Asked by: username_0 on 2016-12-29)
  
  This is changing between 4.6 and 4.7.
  
  Where is the best place to see what each setting does?
  
  **Tags:** php, civicrm.settings.php
  
  > **Comments:**
  > **username_0**: I've made some notes based on my poking around as a community wiki - please feel free to edit my answer or post your own!  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2016-12-30. Score: 1 | Accepted answer
  
  Most properties of CRM_Core_Config are now handled through the settings layer. For documentation about settings, use the Setting.getfields API, e.g.
  cv api setting.getfields
  
  Under the hood, this metadata is stored in settings/*.setting.php.
  
  
  ---
  
  ### Answer by username_0 on 2016-12-29. Score: 1
  
  In CiviCRM 4.6, but not in later versions, [the source](https://github.com/civicrm/civicrm-core/blob/4.6/CRM/Core/Config/Variables.php) documents the following configuration variables:
  
  `$debug = 0;
  $backtrace = 0;
  $smartyDir = NULL;
  $pluginsDir = NULL;
  $templateDir = NULL;
  $resourceBase = NULL;
  $uploadDir = NULL;
  $imageUploadDir = NULL;
  $customFileUploadDir = NULL;
  $imageUploadURL = NULL;
  $extensionsDir;
  $extensionsURL = NULL;
  $cleanURL = FALSE;
  $countryLimit = array('1228');
  $defaultContactStateProvince;
  $provinceLimit = array('1228');
  $defaultContactCountry = '1228';
  $defaultCurrency = 'USD';
  $lcMessages = 'en_US';
  $dateformatDatetime = '%B %E%f, %Y %l:%M %P';
  $dateformatFull = '%B %E%f, %Y';
  $dateformatPartial = '%B %Y';
  $dateformatYear = '%Y';
  $dateformatTime = '%l:%M %P';
  $timeInputFormat = 1;
  $dateInputFormat = 'mm/dd/yy';
  $fiscalYearStart = array(
  $moneyformat = '%c %a';
  $moneyvalueformat = '%!i';
  $currencySymbols = '';
  $defaultCurrencySymbol = '$';
  $monetaryDecimalPoint = '.';
  $monetaryThousandSeparator = ',';
  $gettextCodeset = 'utf-8';
  $gettextDomain = 'civicrm';
  $gettextResourceDir = './l10n/';
  $userFramework = 'Drupal';
  $userFrameworkVersion = 'Unknown';
  $userFrameworkUsersTableName = 'users';
  $userFrameworkClass = 'CRM_Utils_System_Drupal';
  $userHookClass = 'CRM_Utils_Hook_Drupal';
  $userPermissionClass = 'CRM_Core_Permission_Drupal';
  $userPermissionTemp = NULL;
  $userFrameworkURLVar = 'q';
  $userFrameworkDSN = NULL;
  $userFrameworkBaseURL = NULL;
  $userFrameworkResourceURL = NULL;
  $userFrameworkFrontend = FALSE;
  $userFrameworkLogging = FALSE;
  $maxImportFileSize = 1048576;
  $maxFileSize = 2;
  $localeCustomStrings = NULL;
  $mapProvider = NULL;
  $mapAPIKey = NULL;
  $geoProvider = NULL;
  $geoAPIKey = NULL;
  $geocodeMethod = '';
  $mapGeoCoding = 1;
  $logging = FALSE;
  $empoweredBy = TRUE;
  $enableComponents = array(
  $enableComponentIDs = array(1, 6, 2, 3, 4, 8);
  $enableSSL = FALSE;
  $fatalErrorTemplate = 'CRM/common/fatal.tpl';
  $fatalErrorHandler = NULL;
  $legacyEncoding = 'Windows-1252';
  $fieldSeparator = ',';
  $maxLocationBlocks = 2;
  $captchaFontPath = '/usr/X11R6/lib/X11/fonts/';
  $captchaFont = 'HelveticaBold.ttf';
  $includeWildCardInName = 1;
  $includeEmailInName = 1;
  $includeNickNameInName = 0;
  $smartGroupCacheTimeout = 5;
  $defaultSearchProfileID = NULL;
  $dashboardCacheTimeout = 1440;
  $doNotResetCache = 0;
  $includeAlphabeticalPager = 1;
  $includeOrderByClause = 1;
  $oldInputStyle = 1;
  $formKeyDisable = FALSE;
  $inCiviCRM = FALSE;
  $componentRegistry = NULL;
  $doNotAttachPDFReceipt = FALSE;
  $wkhtmltopdfPath = FALSE;
  $secondDegRelPermissions = FALSE;
  $wpBasePage = NULL;`
  
  The 4.7 equivalent source is [here](https://github.com/civicrm/civicrm-core/blob/4.7.15-rc/CRM/Core/Config/MagicMerge.php)
  
  
  ---
  
  