dev/core#4262 - Drop auto_detect_line_endings from civicrm.settings.php.template
authorTim Otten <totten@civicrm.org>
Tue, 2 May 2023 20:56:44 +0000 (13:56 -0700)
committerTim Otten <totten@civicrm.org>
Tue, 2 May 2023 20:56:44 +0000 (13:56 -0700)
If the upgrader is telling you to remove it from `civicrm.settings.php`,
then...  we probably don't need it in `civicrm.settings.php.template`...

templates/CRM/common/civicrm.settings.php.template

index bbca62d39fe0dd411c7a728c0cd991a33a4c847f..ffb2bc2dd52f767b0078d4c1b0e65a80a0a1f2f2 100644 (file)
@@ -601,11 +601,6 @@ if (!defined('CIVICRM_CLEANURL')) {
   }
 }
 
-// force PHP to auto-detect Mac line endings
-if (version_compare(PHP_VERSION, '8.1') < 0) {
-  ini_set('auto_detect_line_endings', '1');
-}
-
 // make sure the memory_limit is at least 64 MB
 $memLimitString = trim(ini_get('memory_limit'));
 $memLimitUnit   = strtolower(substr($memLimitString, -1));