Skip to content
Snippets Groups Projects
Commit fee3848d authored by jurgenhaas's avatar jurgenhaas
Browse files

Generate the settings.local.php file for developers

parent f96a270b
No related branches found
No related tags found
No related merge requests found
<?php
assert_options(ASSERT_ACTIVE, TRUE);
\Drupal\Component\Assertion\Handle::register();
$settings['container_yamls'][] = DRUPAL_ROOT . '/sites/development.services.yml';
$config['system.logging']['error_level'] = 'verbose';
$config['system.performance']['css']['preprocess'] = FALSE;
$config['system.performance']['js']['preprocess'] = FALSE;
# $settings['cache']['bins']['render'] = 'cache.backend.null';
# $settings['cache']['bins']['dynamic_page_cache'] = 'cache.backend.null';
$settings['extension_discovery_scan_tests'] = TRUE;
$settings['rebuild_access'] = TRUE;
$settings['skip_permissions_hardening'] = TRUE;
......@@ -40,7 +40,7 @@ class ScriptHandler {
}
}
foreach (['settings.php', 'services.yml', ] as $template) {
foreach (['settings.php', 'services.yml', 'settings.local.php', ] as $template) {
if (!$fs->exists($drupalRoot . '/sites/default/' . $template)) {
$fs->copy($root . '/scripts/boilerplate/template.' . $template, $root . '/settings/default/' . $template);
$fs->symlink($root . '/settings/default/' . $template, $drupalRoot . '/sites/default/' . $template);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment