updated drupal settings files, and readme about salt.txt

This commit is contained in:
2023-11-06 12:28:57 +01:00
parent 1908b8d002
commit 5b973ca059
5 changed files with 68 additions and 210 deletions
+9 -9
View File
@@ -1,6 +1,6 @@
<?php
// @codingStandardsIgnoreFile
// phpcs:ignoreFile
/**
* @file
@@ -26,14 +26,14 @@
* @see http://php.net/assert
* @see https://www.drupal.org/node/2492225
*
* If you are using PHP 7.0 it is strongly recommended that you set
* zend.assertions=1 in the PHP.ini file (It cannot be changed from .htaccess
* or runtime) on development machines and to 0 in production.
* It is strongly recommended that you set zend.assertions=1 in the PHP.ini file
* (It cannot be changed from .htaccess or runtime) on development machines and
* to 0 or -1 in production.
*
* @see https://wiki.php.net/rfc/expectations
*/
assert_options(ASSERT_ACTIVE, TRUE);
\Drupal\Component\Assertion\Handle::register();
assert_options(ASSERT_EXCEPTION, TRUE);
/**
* Enable local development services.
@@ -66,7 +66,7 @@ $config['system.performance']['js']['preprocess'] = FALSE;
*
* Only use this setting once the site has been installed.
*/
$settings['cache']['bins']['render'] = 'cache.backend.null';
# $settings['cache']['bins']['render'] = 'cache.backend.null';
/**
* Disable caching for migrations.
@@ -74,7 +74,7 @@ $settings['cache']['bins']['render'] = 'cache.backend.null';
* Uncomment the code below to only store migrations in memory and not in the
* database. This makes it easier to develop custom migrations.
*/
$settings['cache']['bins']['discovery_migration'] = 'cache.backend.memory';
# $settings['cache']['bins']['discovery_migration'] = 'cache.backend.memory';
/**
* Disable Internal Page Cache.
@@ -88,7 +88,7 @@ $settings['cache']['bins']['discovery_migration'] = 'cache.backend.memory';
*
* Only use this setting once the site has been installed.
*/
$settings['cache']['bins']['page'] = 'cache.backend.null';
# $settings['cache']['bins']['page'] = 'cache.backend.null';
/**
* Disable Dynamic Page Cache.
@@ -97,7 +97,7 @@ $settings['cache']['bins']['page'] = 'cache.backend.null';
* cacheability metadata is present (and hence the expected behavior). However,
* in the early stages of development, you may want to disable it.
*/
$settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null';
# $settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null';
/**
* Allow test modules and themes to be installed.