-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathlocal-config-sample.php
63 lines (56 loc) · 1.61 KB
/
local-config-sample.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
54
55
56
57
58
59
60
61
62
63
<?php
/*
* This is a sample local-config.php file
*
* You may include settings here that you only want
* enabled on your local development checkouts
*
* The default WordPress databases defines are automatically populated in
* dev/docker/docker-compose.yml which you can override here with custom
* defines e.g. define( 'DB_NAME', 'tribe_square1' );
*/
/**
* Set the current environment type. Accepted values:
* - production (default)
* - staging
* - development
* - local
*
* Note, if you are using Local, you will need to define these here.
*
* @link https://make.wordpress.org/core/2020/07/24/new-wp_get_environment_type-function-in-wordpress-5-5/
*/
define( 'WP_ENVIRONMENT_TYPE', 'development' );
/*
* React dev
*/
define( 'HMR_DEV', false );
/*
* Theme service worker
*
* If your project needs to make use of the theme service worker, enable it here.
*/
// define( 'ENABLE_THEME_SERVICE_WORKER', true );
/*
* Panels
*
* If your project uses panels this will disable/enable panels caching.
*/
//define( 'TRIBE_DISABLE_PANELS_CACHE', true );
/*
* Enable ASSET_VERSION_TIMESTAMP if you are doing front end dev on css/js to force cache invalidation without running a full build
*/
define( 'ASSET_VERSION_TIMESTAMP', true );
/*
* Whoops
*
* If you enable Whoops, the Whoops error library will be used to provide better/prettier error logging.
*/
define( 'WHOOPS_ENABLE', true );
/*
* Glomar
*
* GLOMAR is a plugin that blocks the frontend of the site from public access.
* If you would like to disable the plugin locally, add the following to your local-config.php.
*/
define( 'TRIBE_GLOMAR', false );