|
323 | 323 | *
|
324 | 324 | * To see what PHP settings are possible, including whether they can be set at
|
325 | 325 | * runtime (by using ini_set()), read the PHP documentation:
|
326 |
| - * http://www.php.net/manual/en/ini.list.php |
| 326 | + * http://www.php.net/manual/ini.list.php |
327 | 327 | * See drupal_environment_initialize() in includes/bootstrap.inc for required
|
328 | 328 | * runtime settings and the .htaccess file for non-runtime settings. Settings
|
329 | 329 | * defined there should not be duplicated here so as to avoid conflict issues.
|
|
359 | 359 | * output filter may not have sufficient memory to process it. If you
|
360 | 360 | * experience this issue, you may wish to uncomment the following two lines
|
361 | 361 | * and increase the limits of these variables. For more information, see
|
362 |
| - * http://php.net/manual/en/pcre.configuration.php. |
| 362 | + * http://php.net/manual/pcre.configuration.php. |
363 | 363 | */
|
364 | 364 | # ini_set('pcre.backtrack_limit', 200000);
|
365 | 365 | # ini_set('pcre.recursion_limit', 200000);
|
|
634 | 634 | */
|
635 | 635 | # $conf['allow_authorize_operations'] = FALSE;
|
636 | 636 |
|
637 |
| -/** |
638 |
| - * Smart start: |
639 |
| - * |
640 |
| - * If you would prefer to be redirected to the installation system when a |
641 |
| - * valid settings.php file is present but no tables are installed, remove |
642 |
| - * the leading hash sign below. |
643 |
| - */ |
644 |
| -# $conf['pressflow_smart_start'] = TRUE; |
645 |
| - |
646 | 637 | /**
|
647 | 638 | * Theme debugging:
|
648 | 639 | *
|
|
711 | 702 | */
|
712 | 703 | # $conf['variable_initialize_wait_for_lock'] = FALSE;
|
713 | 704 |
|
| 705 | +/** |
| 706 | + * Opt in to field_sql_storage_field_storage_write() optimization. |
| 707 | + * |
| 708 | + * To reduce unnecessary writes field_sql_storage_field_storage_write() can skip |
| 709 | + * fields where values have apparently not changed. To opt in to this |
| 710 | + * optimization, set this variable to TRUE. |
| 711 | + */ |
| 712 | +$conf['field_sql_storage_skip_writing_unchanged_fields'] = TRUE; |
| 713 | + |
714 | 714 | /**
|
715 | 715 | * Use site name as display-name in outgoing mail.
|
716 | 716 | *
|
|
725 | 725 | * @see drupal_mail()
|
726 | 726 | */
|
727 | 727 | $conf['mail_display_name_site_name'] = TRUE;
|
| 728 | + |
| 729 | +/** |
| 730 | + * SameSite cookie attribute. |
| 731 | + * |
| 732 | + * This variable can be used to set a value for the SameSite cookie attribute. |
| 733 | + * |
| 734 | + * Versions of PHP before 7.3 have no native support for the SameSite attribute |
| 735 | + * so it is emulated. |
| 736 | + * |
| 737 | + * The session.cookie-samesite setting in PHP 7.3 and later will be overridden |
| 738 | + * by this variable for Drupal session cookies, and any other cookies managed |
| 739 | + * with drupal_setcookie(). |
| 740 | + * |
| 741 | + * Setting this variable to FALSE disables the SameSite attribute on cookies. |
| 742 | + * |
| 743 | + * @see drupal_setcookie() |
| 744 | + * @see drupal_session_start() |
| 745 | + * @see https://www.php.net/manual/en/session.configuration.php#ini.session.cookie-samesite |
| 746 | + */ |
| 747 | +#$conf['samesite_cookie_value'] = 'None'; |
0 commit comments