-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathsettings.local.php
More file actions
30 lines (23 loc) · 1.04 KB
/
settings.local.php
File metadata and controls
30 lines (23 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
// Make it easier for Project Browser to install things into the local site.
$settings['skip_permissions_hardening'] = TRUE;
// Allow use of the direct-write mode added to Package Manager in Drupal 11.2.
$settings['package_manager_allow_direct_write'] = TRUE;
// Don't warn about using Package Manager, despite its being experimental.
$settings['testing_package_manager'] = TRUE;
// Allow `localhost` as a trusted host pattern to prevent an error on the status
// report.
$settings['trusted_host_patterns'][] = '^localhost$';
// Export configuration outside the web root.
$settings['config_sync_directory'] = '../config';
// Set up the SQLite database.
$databases['default']['default'] = [
'prefix' => '',
'database' => 'sites/default/files/.ht.sqlite',
'driver' => 'sqlite',
'namespace' => 'Drupal\\sqlite\\Driver\\Database\\sqlite',
'autoload' => 'core/modules/sqlite/src/Driver/Database/sqlite/',
];
// Suppress the warning raised by `skip_permissions_hardening`.
// @see drupal_cms_installer_install_tasks()
putenv('IS_DDEV_PROJECT=1');