-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings.default.php
53 lines (47 loc) · 1.72 KB
/
settings.default.php
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
if (file_exists(__DIR__ . '/default.settings.php')) {
include __DIR__ . '/default.settings.php';
}
/**
* Salt for one-time login links, cancel links, form tokens, etc.
*
* This variable will be set to a random value by the installer. All one-time
* login links will be invalidated if the value is changed. Note that if your
* site is deployed on a cluster of web servers, you must ensure that this
* variable has the same value on each server.
*
* For enhanced security, you may set this variable to the contents of a file
* outside your document root; you should also ensure that this file is not
* stored with backups of your database.
*
* Example:
* @code
* $settings['hash_salt'] = file_get_contents('/home/example/salt.txt');
* @endcode
*/
$settings['hash_salt'] = '-b6vFH2dS0kiDd9OXQbH81WnGbRWaI9vE_3k0T3uBK6jqcceweb58KwdxiZ_Grd7FGsY6AO1LQ';
// config split settings
$_env_is_live = TRUE;
$config['config_split.config_split.dev']['status'] = !$_env_is_live;
$config['config_split.config_split.live']['status'] = $_env_is_live;
// Generated by Wodby.
include '/var/www/conf/wodby.settings.php';
/**
* Load local development override configuration, if available.
*
* Create a settings.local.php file to override variables on secondary (staging,
* development, etc.) installations of this site.
*
* Typical uses of settings.local.php include:
* - Disabling caching.
* - Disabling JavaScript/CSS compression.
* - Rerouting outgoing emails.
*
* Keep this code block at the end of this file to take full effect.
*/
if (file_exists(__DIR__ . '/settings.local.php')) {
include __DIR__ . '/settings.local.php';
}
if (file_exists('/var/www/conf/settings.docker.php')) {
include '/var/www/conf/settings.docker.php';
}