updated core to 9.5
This commit is contained in:
+8
-8
@@ -19,24 +19,24 @@
|
|||||||
*.config text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.config text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
*.css text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.css text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
*.dist text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.dist text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
*.engine text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
|
*.engine text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
|
||||||
*.html text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=html
|
*.html text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=html
|
||||||
*.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
|
*.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
|
||||||
*.install text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
|
*.install text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
|
||||||
*.js text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.js text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
*.json text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.json text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
*.lock text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.lock text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
*.map text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.map text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
*.md text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.md text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
*.module text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
|
*.module text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
|
||||||
*.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
|
*.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
|
||||||
*.po text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.po text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
*.profile text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
|
*.profile text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
|
||||||
*.script text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.script text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
*.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
|
*.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
|
||||||
*.sql text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.sql text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
*.svg text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.svg text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
*.theme text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php
|
*.theme text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php linguist-language=php
|
||||||
*.twig text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.twig text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
*.txt text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.txt text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
*.xml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
*.xml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@
|
|||||||
"drupal/config_pages": "2.x-dev@dev",
|
"drupal/config_pages": "2.x-dev@dev",
|
||||||
"drupal/core-composer-scaffold": "^9.2",
|
"drupal/core-composer-scaffold": "^9.2",
|
||||||
"drupal/core-project-message": "^9.2",
|
"drupal/core-project-message": "^9.2",
|
||||||
"drupal/core-recommended": "^9.2",
|
"drupal/core-recommended": "^9.5",
|
||||||
"drupal/entity_type_clone": "^1.7",
|
"drupal/entity_type_clone": "^1.7",
|
||||||
"drupal/formatter_suite": "^1.3",
|
"drupal/formatter_suite": "^1.3",
|
||||||
"drupal/geocoder": "^3.25",
|
"drupal/geocoder": "^3.25",
|
||||||
|
|||||||
Generated
+748
-668
File diff suppressed because it is too large
Load Diff
@@ -21,6 +21,8 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
image_link: ''
|
image_link: ''
|
||||||
image_style: thumbnail
|
image_style: thumbnail
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
third_party_settings:
|
third_party_settings:
|
||||||
linked_field:
|
linked_field:
|
||||||
linked: '1'
|
linked: '1'
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
image_link: ''
|
image_link: ''
|
||||||
image_style: ''
|
image_style: ''
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 4
|
weight: 4
|
||||||
region: content
|
region: content
|
||||||
|
|||||||
@@ -93,6 +93,8 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
image_link: ''
|
image_link: ''
|
||||||
image_style: ''
|
image_style: ''
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 113
|
weight: 113
|
||||||
region: content
|
region: content
|
||||||
|
|||||||
@@ -57,6 +57,8 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
image_link: content
|
image_link: content
|
||||||
image_style: medium
|
image_style: medium
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 1
|
weight: 1
|
||||||
region: content
|
region: content
|
||||||
|
|||||||
+2
@@ -47,6 +47,8 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
image_link: ''
|
image_link: ''
|
||||||
image_style: medium
|
image_style: medium
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
third_party_settings:
|
third_party_settings:
|
||||||
linked_field:
|
linked_field:
|
||||||
linked: '1'
|
linked: '1'
|
||||||
|
|||||||
@@ -42,6 +42,8 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
image_link: ''
|
image_link: ''
|
||||||
image_style: medium
|
image_style: medium
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
third_party_settings:
|
third_party_settings:
|
||||||
linked_field:
|
linked_field:
|
||||||
linked: '1'
|
linked: '1'
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
image_link: ''
|
image_link: ''
|
||||||
image_style: logo
|
image_style: logo
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
third_party_settings:
|
third_party_settings:
|
||||||
linked_field:
|
linked_field:
|
||||||
linked: '1'
|
linked: '1'
|
||||||
|
|||||||
@@ -39,6 +39,8 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
image_link: ''
|
image_link: ''
|
||||||
image_style: thumbnail
|
image_style: thumbnail
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
third_party_settings:
|
third_party_settings:
|
||||||
linked_field:
|
linked_field:
|
||||||
linked: '1'
|
linked: '1'
|
||||||
|
|||||||
@@ -133,6 +133,8 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
image_link: ''
|
image_link: ''
|
||||||
image_style: ''
|
image_style: ''
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 110
|
weight: 110
|
||||||
region: content
|
region: content
|
||||||
|
|||||||
@@ -63,6 +63,8 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
image_link: content
|
image_link: content
|
||||||
image_style: large
|
image_style: large
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 0
|
weight: 0
|
||||||
region: content
|
region: content
|
||||||
|
|||||||
@@ -52,6 +52,8 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
image_link: content
|
image_link: content
|
||||||
image_style: medium
|
image_style: medium
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 0
|
weight: 0
|
||||||
region: content
|
region: content
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
image_link: ''
|
image_link: ''
|
||||||
image_style: medium
|
image_style: medium
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 0
|
weight: 0
|
||||||
region: content
|
region: content
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ content:
|
|||||||
settings:
|
settings:
|
||||||
image_link: ''
|
image_link: ''
|
||||||
image_style: thumbnail
|
image_style: thumbnail
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
third_party_settings: { }
|
third_party_settings: { }
|
||||||
weight: 0
|
weight: 0
|
||||||
region: content
|
region: content
|
||||||
|
|||||||
@@ -91,6 +91,7 @@ module:
|
|||||||
menu_block: 0
|
menu_block: 0
|
||||||
menu_link_content: 0
|
menu_link_content: 0
|
||||||
menu_ui: 0
|
menu_ui: 0
|
||||||
|
mysql: 0
|
||||||
node: 0
|
node: 0
|
||||||
options: 0
|
options: 0
|
||||||
page_cache: 0
|
page_cache: 0
|
||||||
|
|||||||
@@ -54,8 +54,6 @@ settings:
|
|||||||
linkit_profile: default
|
linkit_profile: default
|
||||||
stylescombo:
|
stylescombo:
|
||||||
styles: h4.inter-titre|Inter-titre
|
styles: h4.inter-titre|Inter-titre
|
||||||
language:
|
|
||||||
language_list: un
|
|
||||||
image_upload:
|
image_upload:
|
||||||
status: true
|
status: true
|
||||||
scheme: public
|
scheme: public
|
||||||
|
|||||||
@@ -1026,6 +1026,8 @@ display:
|
|||||||
settings:
|
settings:
|
||||||
image_link: content
|
image_link: content
|
||||||
image_style: map_popup
|
image_style: map_popup
|
||||||
|
image_loading:
|
||||||
|
attribute: lazy
|
||||||
group_column: ''
|
group_column: ''
|
||||||
group_columns: { }
|
group_columns: { }
|
||||||
group_rows: true
|
group_rows: true
|
||||||
|
|||||||
@@ -24,6 +24,12 @@
|
|||||||
* @see http://php.net/manual/en/features.commandline.webserver.php
|
* @see http://php.net/manual/en/features.commandline.webserver.php
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if (PHP_SAPI !== 'cli-server') {
|
||||||
|
// Bail out if this is not PHP's Development Server.
|
||||||
|
header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden');
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
$url = parse_url($_SERVER['REQUEST_URI']);
|
$url = parse_url($_SERVER['REQUEST_URI']);
|
||||||
if (file_exists(__DIR__ . $url['path'])) {
|
if (file_exists(__DIR__ . $url['path'])) {
|
||||||
// Serve the requested resource as-is.
|
// Serve the requested resource as-is.
|
||||||
|
|||||||
+9
-4
@@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Protect files and directories from prying eyes.
|
# Protect files and directories from prying eyes.
|
||||||
<FilesMatch "\.(engine|inc|install|make|module|profile|po|sh|.*sql|theme|twig|tpl(\.php)?|xtmpl|yml)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\.(?!well-known).*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock)|web\.config)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig|\.save)$">
|
<FilesMatch "\.(engine|inc|install|make|module|profile|po|sh|.*sql|theme|twig|tpl(\.php)?|xtmpl|yml)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\.(?!well-known).*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock)|web\.config|yarn\.lock|package\.json)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig|\.save)$">
|
||||||
<IfModule mod_authz_core.c>
|
<IfModule mod_authz_core.c>
|
||||||
Require all denied
|
Require all denied
|
||||||
</IfModule>
|
</IfModule>
|
||||||
@@ -32,12 +32,17 @@ AddEncoding gzip svgz
|
|||||||
php_value assert.active 0
|
php_value assert.active 0
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
|
# PHP 8, Apache 1 and 2.
|
||||||
|
<IfModule mod_php.c>
|
||||||
|
php_value assert.active 0
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
# Requires mod_expires to be enabled.
|
# Requires mod_expires to be enabled.
|
||||||
<IfModule mod_expires.c>
|
<IfModule mod_expires.c>
|
||||||
# Enable expirations.
|
# Enable expirations.
|
||||||
ExpiresActive On
|
ExpiresActive On
|
||||||
|
|
||||||
# Cache all files for 2 weeks after access (A).
|
# Cache all files and redirects for 2 weeks after access (A).
|
||||||
ExpiresDefault A1209600
|
ExpiresDefault A1209600
|
||||||
|
|
||||||
<FilesMatch \.php$>
|
<FilesMatch \.php$>
|
||||||
@@ -153,12 +158,12 @@ AddEncoding gzip svgz
|
|||||||
# Serve gzip compressed CSS files if they exist and the client accepts gzip.
|
# Serve gzip compressed CSS files if they exist and the client accepts gzip.
|
||||||
RewriteCond %{HTTP:Accept-encoding} gzip
|
RewriteCond %{HTTP:Accept-encoding} gzip
|
||||||
RewriteCond %{REQUEST_FILENAME}\.gz -s
|
RewriteCond %{REQUEST_FILENAME}\.gz -s
|
||||||
RewriteRule ^(.*)\.css $1\.css\.gz [QSA]
|
RewriteRule ^(.*css_[a-zA-Z0-9-_]+)\.css$ $1\.css\.gz [QSA]
|
||||||
|
|
||||||
# Serve gzip compressed JS files if they exist and the client accepts gzip.
|
# Serve gzip compressed JS files if they exist and the client accepts gzip.
|
||||||
RewriteCond %{HTTP:Accept-encoding} gzip
|
RewriteCond %{HTTP:Accept-encoding} gzip
|
||||||
RewriteCond %{REQUEST_FILENAME}\.gz -s
|
RewriteCond %{REQUEST_FILENAME}\.gz -s
|
||||||
RewriteRule ^(.*)\.js $1\.js\.gz [QSA]
|
RewriteRule ^(.*js_[a-zA-Z0-9-_]+)\.js$ $1\.js\.gz [QSA]
|
||||||
|
|
||||||
# Serve correct content types, and prevent double compression.
|
# Serve correct content types, and prevent double compression.
|
||||||
RewriteRule \.css\.gz$ - [T=text/css,E=no-gzip:1,E=no-brotli:1]
|
RewriteRule \.css\.gz$ - [T=text/css,E=no-gzip:1,E=no-brotli:1]
|
||||||
|
|||||||
@@ -49,6 +49,8 @@ Disallow: /user/register
|
|||||||
Disallow: /user/password
|
Disallow: /user/password
|
||||||
Disallow: /user/login
|
Disallow: /user/login
|
||||||
Disallow: /user/logout
|
Disallow: /user/logout
|
||||||
|
Disallow: /media/oembed
|
||||||
|
Disallow: /*/media/oembed
|
||||||
# Paths (no clean URLs)
|
# Paths (no clean URLs)
|
||||||
Disallow: /index.php/admin/
|
Disallow: /index.php/admin/
|
||||||
Disallow: /index.php/comment/reply/
|
Disallow: /index.php/comment/reply/
|
||||||
@@ -59,3 +61,5 @@ Disallow: /index.php/user/password
|
|||||||
Disallow: /index.php/user/register
|
Disallow: /index.php/user/register
|
||||||
Disallow: /index.php/user/login
|
Disallow: /index.php/user/login
|
||||||
Disallow: /index.php/user/logout
|
Disallow: /index.php/user/logout
|
||||||
|
Disallow: /index.php/media/oembed
|
||||||
|
Disallow: /index.php/*/media/oembed
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ parameters:
|
|||||||
# For more information about debugging Twig templates, see
|
# For more information about debugging Twig templates, see
|
||||||
# https://www.drupal.org/node/1906392.
|
# https://www.drupal.org/node/1906392.
|
||||||
#
|
#
|
||||||
# Not recommended in production environments
|
# Enabling Twig debugging is not recommended in production environments.
|
||||||
# @default false
|
# @default false
|
||||||
debug: false
|
debug: false
|
||||||
# Twig auto-reload:
|
# Twig auto-reload:
|
||||||
@@ -79,7 +79,7 @@ parameters:
|
|||||||
# If you don't provide a value for auto_reload, it will be determined
|
# If you don't provide a value for auto_reload, it will be determined
|
||||||
# based on the value of debug.
|
# based on the value of debug.
|
||||||
#
|
#
|
||||||
# Not recommended in production environments
|
# Enabling auto-reload is not recommended in production environments.
|
||||||
# @default null
|
# @default null
|
||||||
auto_reload: null
|
auto_reload: null
|
||||||
# Twig cache:
|
# Twig cache:
|
||||||
@@ -90,9 +90,24 @@ parameters:
|
|||||||
# auto_reload setting above should be enabled rather than disabling the
|
# auto_reload setting above should be enabled rather than disabling the
|
||||||
# Twig cache.
|
# Twig cache.
|
||||||
#
|
#
|
||||||
# Not recommended in production environments
|
# Disabling the Twig cache is not recommended in production environments.
|
||||||
# @default true
|
# @default true
|
||||||
cache: true
|
cache: true
|
||||||
|
# File extensions:
|
||||||
|
#
|
||||||
|
# List of file extensions the Twig system is allowed to load via the
|
||||||
|
# twig.loader.filesystem service. Files with other extensions will not be
|
||||||
|
# loaded unless they are added here. For example, to allow a file named
|
||||||
|
# 'example.partial' to be loaded, add 'partial' to this list. To load files
|
||||||
|
# with no extension, add an empty string '' to the list.
|
||||||
|
#
|
||||||
|
# @default ['css', 'html', 'js', 'svg', 'twig']
|
||||||
|
allowed_file_extensions:
|
||||||
|
- css
|
||||||
|
- html
|
||||||
|
- js
|
||||||
|
- svg
|
||||||
|
- twig
|
||||||
renderer.config:
|
renderer.config:
|
||||||
# Renderer required cache contexts:
|
# Renderer required cache contexts:
|
||||||
#
|
#
|
||||||
@@ -132,6 +147,14 @@ parameters:
|
|||||||
#
|
#
|
||||||
# @default []
|
# @default []
|
||||||
tags: []
|
tags: []
|
||||||
|
# Renderer cache debug:
|
||||||
|
#
|
||||||
|
# Allows cache debugging output for each rendered element.
|
||||||
|
#
|
||||||
|
# Enabling render cache debugging is not recommended in production
|
||||||
|
# environments.
|
||||||
|
# @default false
|
||||||
|
debug: false
|
||||||
# Cacheability debugging:
|
# Cacheability debugging:
|
||||||
#
|
#
|
||||||
# Responses with cacheability metadata (CacheableResponseInterface instances)
|
# Responses with cacheability metadata (CacheableResponseInterface instances)
|
||||||
@@ -141,19 +164,20 @@ parameters:
|
|||||||
# For more information about debugging cacheable responses, see
|
# For more information about debugging cacheable responses, see
|
||||||
# https://www.drupal.org/developing/api/8/response/cacheable-response-interface
|
# https://www.drupal.org/developing/api/8/response/cacheable-response-interface
|
||||||
#
|
#
|
||||||
# Not recommended in production environments
|
# Enabling cacheability debugging is not recommended in production
|
||||||
|
# environments.
|
||||||
# @default false
|
# @default false
|
||||||
http.response.debug_cacheability_headers: false
|
http.response.debug_cacheability_headers: false
|
||||||
factory.keyvalue: {}
|
factory.keyvalue: {}
|
||||||
# Default key/value storage service to use.
|
# Default key/value storage service to use.
|
||||||
# @default keyvalue.database
|
# @default keyvalue.database
|
||||||
# default: keyvalue.database
|
# default: keyvalue.database
|
||||||
# Collection-specific overrides.
|
# Collection-specific overrides.
|
||||||
# state: keyvalue.database
|
# state: keyvalue.database
|
||||||
factory.keyvalue.expirable: {}
|
factory.keyvalue.expirable: {}
|
||||||
# Default key/value expirable storage service to use.
|
# Default key/value expirable storage service to use.
|
||||||
# @default keyvalue.database.expirable
|
# @default keyvalue.database.expirable
|
||||||
# default: keyvalue.database.expirable
|
# default: keyvalue.database.expirable
|
||||||
# Allowed protocols for URL generation.
|
# Allowed protocols for URL generation.
|
||||||
filter_protocols:
|
filter_protocols:
|
||||||
- http
|
- http
|
||||||
@@ -180,7 +204,8 @@ parameters:
|
|||||||
allowedHeaders: []
|
allowedHeaders: []
|
||||||
# Specify allowed request methods, specify ['*'] to allow all possible ones.
|
# Specify allowed request methods, specify ['*'] to allow all possible ones.
|
||||||
allowedMethods: []
|
allowedMethods: []
|
||||||
# Configure requests allowed from specific origins.
|
# Configure requests allowed from specific origins. Do not include trailing
|
||||||
|
# slashes with URLs.
|
||||||
allowedOrigins: ['*']
|
allowedOrigins: ['*']
|
||||||
# Sets the Access-Control-Expose-Headers header.
|
# Sets the Access-Control-Expose-Headers header.
|
||||||
exposedHeaders: false
|
exposedHeaders: false
|
||||||
|
|||||||
@@ -138,6 +138,21 @@ $databases = [];
|
|||||||
* request as needed. The fourth line creates a new database with a name of
|
* request as needed. The fourth line creates a new database with a name of
|
||||||
* "extra".
|
* "extra".
|
||||||
*
|
*
|
||||||
|
* For MySQL, MariaDB or equivalent databases the 'isolation_level' option can
|
||||||
|
* be set. The recommended transaction isolation level for Drupal sites is
|
||||||
|
* 'READ COMMITTED'. The 'REPEATABLE READ' option is supported but can result
|
||||||
|
* in deadlocks, the other two options are 'READ UNCOMMITTED' and 'SERIALIZABLE'.
|
||||||
|
* They are available but not supported; use them at your own risk. For more
|
||||||
|
* info:
|
||||||
|
* https://dev.mysql.com/doc/refman/5.7/en/innodb-transaction-isolation-levels.html
|
||||||
|
*
|
||||||
|
* On your settings.php, change the isolation level:
|
||||||
|
* @code
|
||||||
|
* $databases['default']['default']['init_commands'] = [
|
||||||
|
* 'isolation_level' => 'SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED',
|
||||||
|
* ];
|
||||||
|
* @endcode
|
||||||
|
*
|
||||||
* You can optionally set a prefix for all database table names by using the
|
* You can optionally set a prefix for all database table names by using the
|
||||||
* 'prefix' setting. If a prefix is specified, the table name will be prepended
|
* 'prefix' setting. If a prefix is specified, the table name will be prepended
|
||||||
* with its value. Be sure to use valid database characters only, usually
|
* with its value. Be sure to use valid database characters only, usually
|
||||||
@@ -170,9 +185,9 @@ $databases = [];
|
|||||||
* information on these defaults and the potential issues.
|
* information on these defaults and the potential issues.
|
||||||
*
|
*
|
||||||
* More details can be found in the constructor methods for each driver:
|
* More details can be found in the constructor methods for each driver:
|
||||||
* - \Drupal\Core\Database\Driver\mysql\Connection::__construct()
|
* - \Drupal\mysql\Driver\Database\mysql\Connection::__construct()
|
||||||
* - \Drupal\Core\Database\Driver\pgsql\Connection::__construct()
|
* - \Drupal\pgsql\Driver\Database\pgsql\Connection::__construct()
|
||||||
* - \Drupal\Core\Database\Driver\sqlite\Connection::__construct()
|
* - \Drupal\sqlite\Driver\Database\sqlite\Connection::__construct()
|
||||||
*
|
*
|
||||||
* Sample Database configuration format for PostgreSQL (pgsql):
|
* Sample Database configuration format for PostgreSQL (pgsql):
|
||||||
* @code
|
* @code
|
||||||
@@ -343,10 +358,13 @@ $settings['update_free_access'] = FALSE;
|
|||||||
# $settings['reverse_proxy'] = TRUE;
|
# $settings['reverse_proxy'] = TRUE;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specify every reverse proxy IP address in your environment.
|
* Reverse proxy addresses.
|
||||||
* This setting is required if $settings['reverse_proxy'] is TRUE.
|
*
|
||||||
|
* Specify every reverse proxy IP address in your environment, as an array of
|
||||||
|
* IPv4/IPv6 addresses or subnets in CIDR notation. This setting is required if
|
||||||
|
* $settings['reverse_proxy'] is TRUE.
|
||||||
*/
|
*/
|
||||||
# $settings['reverse_proxy_addresses'] = ['a.b.c.d', ...];
|
# $settings['reverse_proxy_addresses'] = ['a.b.c.d', 'e.f.g.h/24', ...];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reverse proxy trusted headers.
|
* Reverse proxy trusted headers.
|
||||||
@@ -490,6 +508,48 @@ $settings['update_free_access'] = FALSE;
|
|||||||
*/
|
*/
|
||||||
# $settings['file_public_path'] = 'sites/default/files';
|
# $settings['file_public_path'] = 'sites/default/files';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Additional public file schemes:
|
||||||
|
*
|
||||||
|
* Public schemes are URI schemes that allow download access to all users for
|
||||||
|
* all files within that scheme.
|
||||||
|
*
|
||||||
|
* The "public" scheme is always public, and the "private" scheme is always
|
||||||
|
* private, but other schemes, such as "https", "s3", "example", or others,
|
||||||
|
* can be either public or private depending on the site. By default, they're
|
||||||
|
* private, and access to individual files is controlled via
|
||||||
|
* hook_file_download().
|
||||||
|
*
|
||||||
|
* Typically, if a scheme should be public, a module makes it public by
|
||||||
|
* implementing hook_file_download(), and granting access to all users for all
|
||||||
|
* files. This could be either the same module that provides the stream wrapper
|
||||||
|
* for the scheme, or a different module that decides to make the scheme
|
||||||
|
* public. However, in cases where a site needs to make a scheme public, but
|
||||||
|
* is unable to add code in a module to do so, the scheme may be added to this
|
||||||
|
* variable, the result of which is that system_file_download() grants public
|
||||||
|
* access to all files within that scheme.
|
||||||
|
*/
|
||||||
|
# $settings['file_additional_public_schemes'] = ['example'];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* File schemes whose paths should not be normalized:
|
||||||
|
*
|
||||||
|
* Normally, Drupal normalizes '/./' and '/../' segments in file URIs in order
|
||||||
|
* to prevent unintended file access. For example, 'private://css/../image.png'
|
||||||
|
* is normalized to 'private://image.png' before checking access to the file.
|
||||||
|
*
|
||||||
|
* On Windows, Drupal also replaces '\' with '/' in URIs for the local
|
||||||
|
* filesystem.
|
||||||
|
*
|
||||||
|
* If file URIs with one or more scheme should not be normalized like this, then
|
||||||
|
* list the schemes here. For example, if 'porcelain://china/./plate.png' should
|
||||||
|
* not be normalized to 'porcelain://china/plate.png', then add 'porcelain' to
|
||||||
|
* this array. In this case, make sure that the module providing the 'porcelain'
|
||||||
|
* scheme does not allow unintended file access when using '/../' to move up the
|
||||||
|
* directory tree.
|
||||||
|
*/
|
||||||
|
# $settings['file_sa_core_2023_005_schemes'] = ['porcelain'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Private file path:
|
* Private file path:
|
||||||
*
|
*
|
||||||
@@ -553,7 +613,7 @@ $settings['update_free_access'] = FALSE;
|
|||||||
*
|
*
|
||||||
* Note: This setting does not apply to installation and update pages.
|
* Note: This setting does not apply to installation and update pages.
|
||||||
*/
|
*/
|
||||||
# $settings['maintenance_theme'] = 'bartik';
|
# $settings['maintenance_theme'] = 'claro';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PHP settings:
|
* PHP settings:
|
||||||
@@ -578,21 +638,6 @@ $settings['update_free_access'] = FALSE;
|
|||||||
# ini_set('pcre.backtrack_limit', 200000);
|
# ini_set('pcre.backtrack_limit', 200000);
|
||||||
# ini_set('pcre.recursion_limit', 200000);
|
# ini_set('pcre.recursion_limit', 200000);
|
||||||
|
|
||||||
/**
|
|
||||||
* Add Permissions-Policy header to disable Google FLoC.
|
|
||||||
*
|
|
||||||
* By default, Drupal sends the 'Permissions-Policy: interest-cohort=()' header
|
|
||||||
* to disable Google's Federated Learning of Cohorts feature, introduced in
|
|
||||||
* Chrome 89.
|
|
||||||
*
|
|
||||||
* See https://en.wikipedia.org/wiki/Federated_Learning_of_Cohorts for more
|
|
||||||
* information about FLoC.
|
|
||||||
*
|
|
||||||
* If you don't wish to disable FLoC in Chrome, you can set this value
|
|
||||||
* to FALSE.
|
|
||||||
*/
|
|
||||||
# $settings['block_interest_cohort'] = TRUE;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Configuration overrides.
|
* Configuration overrides.
|
||||||
*
|
*
|
||||||
@@ -618,33 +663,6 @@ $settings['update_free_access'] = FALSE;
|
|||||||
# $config['system.site']['name'] = 'My Drupal site';
|
# $config['system.site']['name'] = 'My Drupal site';
|
||||||
# $config['user.settings']['anonymous'] = 'Visitor';
|
# $config['user.settings']['anonymous'] = 'Visitor';
|
||||||
|
|
||||||
/**
|
|
||||||
* Fast 404 pages:
|
|
||||||
*
|
|
||||||
* Drupal can generate fully themed 404 pages. However, some of these responses
|
|
||||||
* are for images or other resource files that are not displayed to the user.
|
|
||||||
* This can waste bandwidth, and also generate server load.
|
|
||||||
*
|
|
||||||
* The options below return a simple, fast 404 page for URLs matching a
|
|
||||||
* specific pattern:
|
|
||||||
* - $config['system.performance']['fast_404']['exclude_paths']: A regular
|
|
||||||
* expression to match paths to exclude, such as images generated by image
|
|
||||||
* styles, or dynamically-resized images. The default pattern provided below
|
|
||||||
* also excludes the private file system. If you need to add more paths, you
|
|
||||||
* can add '|path' to the expression.
|
|
||||||
* - $config['system.performance']['fast_404']['paths']: A regular expression to
|
|
||||||
* match paths that should return a simple 404 page, rather than the fully
|
|
||||||
* themed 404 page. If you don't have any aliases ending in htm or html you
|
|
||||||
* can add '|s?html?' to the expression.
|
|
||||||
* - $config['system.performance']['fast_404']['html']: The html to return for
|
|
||||||
* simple 404 pages.
|
|
||||||
*
|
|
||||||
* Remove the leading hash signs if you would like to alter this functionality.
|
|
||||||
*/
|
|
||||||
# $config['system.performance']['fast_404']['exclude_paths'] = '/\/(?:styles)|(?:system\/files)\//';
|
|
||||||
# $config['system.performance']['fast_404']['paths'] = '/\.(?:txt|png|gif|jpe?g|css|js|ico|swf|flv|cgi|bat|pl|dll|exe|asp)$/i';
|
|
||||||
# $config['system.performance']['fast_404']['html'] = '<!DOCTYPE html><html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL "@path" was not found on this server.</p></body></html>';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load services definition file.
|
* Load services definition file.
|
||||||
*/
|
*/
|
||||||
@@ -703,6 +721,8 @@ $settings['container_yamls'][] = $app_root . '/' . $site_path . '/services.yml';
|
|||||||
* @endcode
|
* @endcode
|
||||||
* will allow the site to run off of all variants of example.com and
|
* will allow the site to run off of all variants of example.com and
|
||||||
* example.org, with all subdomains included.
|
* example.org, with all subdomains included.
|
||||||
|
*
|
||||||
|
* @see https://www.drupal.org/docs/installing-drupal/trusted-host-settings
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -752,6 +772,49 @@ $settings['entity_update_backup'] = TRUE;
|
|||||||
*/
|
*/
|
||||||
$settings['migrate_node_migrate_type_classic'] = FALSE;
|
$settings['migrate_node_migrate_type_classic'] = FALSE;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The default settings for migration sources.
|
||||||
|
*
|
||||||
|
* These settings are used as the default settings on the Credential form at
|
||||||
|
* /upgrade/credentials.
|
||||||
|
*
|
||||||
|
* - migrate_source_version - The version of the source database. This can be
|
||||||
|
* '6' or '7'. Defaults to '7'.
|
||||||
|
* - migrate_source_connection - The key in the $databases array for the source
|
||||||
|
* site.
|
||||||
|
* - migrate_file_public_path - The location of the source Drupal 6 or Drupal 7
|
||||||
|
* public files. This can be a local file directory containing the source
|
||||||
|
* Drupal 6 or Drupal 7 site (e.g /var/www/docroot), or the site address
|
||||||
|
* (e.g http://example.com).
|
||||||
|
* - migrate_file_private_path - The location of the source Drupal 7 private
|
||||||
|
* files. This can be a local file directory containing the source Drupal 7
|
||||||
|
* site (e.g /var/www/docroot), or empty to use the same value as Public
|
||||||
|
* files directory.
|
||||||
|
*
|
||||||
|
* Sample configuration for a drupal 6 source site with the source files in a
|
||||||
|
* local directory.
|
||||||
|
*
|
||||||
|
* @code
|
||||||
|
* $settings['migrate_source_version'] = '6';
|
||||||
|
* $settings['migrate_source_connection'] = 'migrate';
|
||||||
|
* $settings['migrate_file_public_path'] = '/var/www/drupal6';
|
||||||
|
* @endcode
|
||||||
|
*
|
||||||
|
* Sample configuration for a drupal 7 source site with public source files on
|
||||||
|
* the source site and the private files in a local directory.
|
||||||
|
*
|
||||||
|
* @code
|
||||||
|
* $settings['migrate_source_version'] = '7';
|
||||||
|
* $settings['migrate_source_connection'] = 'migrate';
|
||||||
|
* $settings['migrate_file_public_path'] = 'https://drupal7.com';
|
||||||
|
* $settings['migrate_file_private_path'] = '/var/www/drupal7';
|
||||||
|
* @endcode
|
||||||
|
*/
|
||||||
|
# $settings['migrate_source_connection'] = '';
|
||||||
|
# $settings['migrate_source_version'] = '';
|
||||||
|
# $settings['migrate_file_public_path'] = '';
|
||||||
|
# $settings['migrate_file_private_path'] = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load local development override configuration, if available.
|
* Load local development override configuration, if available.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
* @see https://wiki.php.net/rfc/expectations
|
* @see https://wiki.php.net/rfc/expectations
|
||||||
*/
|
*/
|
||||||
assert_options(ASSERT_ACTIVE, TRUE);
|
assert_options(ASSERT_ACTIVE, TRUE);
|
||||||
\Drupal\Component\Assertion\Handle::register();
|
assert_options(ASSERT_EXCEPTION, TRUE);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable local development services.
|
* Enable local development services.
|
||||||
|
|||||||
+1
-1
@@ -22,7 +22,7 @@
|
|||||||
<rewrite>
|
<rewrite>
|
||||||
<rules>
|
<rules>
|
||||||
<rule name="Protect files and directories from prying eyes" stopProcessing="true">
|
<rule name="Protect files and directories from prying eyes" stopProcessing="true">
|
||||||
<match url="\.(engine|inc|install|module|profile|po|sh|.*sql|theme|twig|tpl(\.php)?|xtmpl|yml|svn-base)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format|composer\.(json|lock)|\.htaccess)$" />
|
<match url="\.(engine|inc|install|module|profile|po|sh|.*sql|theme|twig|tpl(\.php)?|xtmpl|yml|svn-base)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format|composer\.(json|lock)|\.htaccess|yarn.lock|package.json)$" />
|
||||||
<action type="CustomResponse" statusCode="403" subStatusCode="0" statusReason="Forbidden" statusDescription="Access is forbidden." />
|
<action type="CustomResponse" statusCode="403" subStatusCode="0" statusReason="Forbidden" statusDescription="Access is forbidden." />
|
||||||
</rule>
|
</rule>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user