File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 88
99define( 'WP_USE_THEMES', true );
1010
11- // ==============
12- // REDIS SETTINGS
13- // ==============
14- define( 'WP_REDIS_DISABLE', (int) getenv( 'WP_REDIS_DISABLE' ) );
15- define( 'WP_REDIS_DB', getenv( 'WP_REDIS_DB' ) );
16- define( 'WP_REDIS_DATABASE', getenv( 'WP_REDIS_DB' ) );
17- define( 'WP_REDIS_HOST', getenv( 'WP_REDIS_HOST' ) );
18- define( 'WP_REDIS_PASSWORD', getenv( 'WP_REDIS_PASSWORD' ) );
19-
2011// To disable redis caching, set the WP_REDIS_DISABLE env as 1.
2112if ( WP_REDIS_DISABLE === 1 ) {
2213 // NO CACHING
Original file line number Diff line number Diff line change 5252}
5353
5454define( 'SETUP_DONE', true );
55+
56+ // ==============
57+ // REDIS SETTINGS
58+ // ==============
59+ define( 'WP_REDIS_DISABLE', (int) getenv( 'WP_REDIS_DISABLE' ) );
60+ define( 'WP_REDIS_DB', getenv( 'WP_REDIS_DB' ) );
61+ define( 'WP_REDIS_DATABASE', getenv( 'WP_REDIS_DB' ) );
62+ define( 'WP_REDIS_HOST', getenv( 'WP_REDIS_HOST' ) );
63+ define( 'WP_REDIS_PASSWORD', getenv( 'WP_REDIS_PASSWORD' ) );
You can’t perform that action at this time.
0 commit comments