2015-08-18 00:00:26 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Local development override configuration feature.
|
|
|
|
*
|
|
|
|
* To activate this feature, copy and rename it such that its path plus
|
|
|
|
* filename is 'sites/example.com/settings.local.php', where example.com
|
|
|
|
* is the name of your site. Then, go to the bottom of
|
|
|
|
* 'sites/example.com/settings.php' and uncomment the commented lines that
|
|
|
|
* mention 'settings.local.php'.
|
|
|
|
*/
|
|
|
|
|
2015-08-27 19:03:05 +00:00
|
|
|
/**
|
|
|
|
* Assertions.
|
|
|
|
*
|
|
|
|
* The Drupal project primarily uses runtime assertions to enforce the
|
|
|
|
* expectations of the API by failing when incorrect calls are made by code
|
|
|
|
* under development.
|
|
|
|
*
|
|
|
|
* @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.
|
|
|
|
*
|
|
|
|
* @see https://wiki.php.net/rfc/expectations
|
|
|
|
*/
|
|
|
|
assert_options(ASSERT_ACTIVE, 1);
|
|
|
|
|
2015-08-18 00:00:26 +00:00
|
|
|
/**
|
|
|
|
* Enable local development services.
|
|
|
|
*/
|
|
|
|
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/development.services.yml';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Show all error messages, with backtrace information.
|
2015-08-27 19:03:05 +00:00
|
|
|
*
|
|
|
|
* In case the error level could not be fetched from the database, as for
|
|
|
|
* example the database connection failed, we rely only on this value.
|
2015-08-18 00:00:26 +00:00
|
|
|
*/
|
|
|
|
$config['system.logging']['error_level'] = 'verbose';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Disable CSS and JS aggregation.
|
|
|
|
*/
|
|
|
|
$config['system.performance']['css']['preprocess'] = FALSE;
|
|
|
|
$config['system.performance']['js']['preprocess'] = FALSE;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Disable the render cache (this includes the page cache).
|
|
|
|
*
|
|
|
|
* This setting disables the render cache by using the Null cache back-end
|
|
|
|
* defined by the development.services.yml file above.
|
|
|
|
*
|
|
|
|
* Do not use this setting until after the site is installed.
|
|
|
|
*/
|
|
|
|
$settings['cache']['bins']['render'] = 'cache.backend.null';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Allow test modules and themes to be installed.
|
|
|
|
*
|
|
|
|
* Drupal ignores test modules and themes by default for performance reasons.
|
|
|
|
* During development it can be useful to install test extensions for debugging
|
|
|
|
* purposes.
|
|
|
|
*/
|
|
|
|
$settings['extension_discovery_scan_tests'] = TRUE;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Enable access to rebuild.php.
|
|
|
|
*
|
|
|
|
* This setting can be enabled to allow Drupal's php and database cached
|
|
|
|
* storage to be cleared via the rebuild.php page. Access to this page can also
|
|
|
|
* be gained by generating a query string from rebuild_token_calculator.sh and
|
|
|
|
* using these parameters in a request to rebuild.php.
|
|
|
|
*/
|
|
|
|
$settings['rebuild_access'] = TRUE;
|