- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.php
More file actions
Latest commit
18 lines (14 loc) · 592 Bytes
/
Copy pathsettings.php
File metadata and controls
18 lines (14 loc) · 592 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
/**
* Drupal install copies default-settings.php over, comments and all.
* I've stripped them out and included a .gitignore'd settings.local.php as it suggests.
* So settings.php itself is a safe placeholder for Drupal to include;
* default-settings.php is documentation, and settings.local.php is for secret or sandbox values.
*/
if (file_exists(__DIR__ . '/settings.local.php')) {
include__DIR__ . '/settings.local.php';
}
# Hey, let's have a services.local.yml too!
if (file_exists(__DIR__ . '/services.local.yml')) {
include__DIR__ . '/services.local.yml';
}