generated from figuren-theater/new-ft-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wp-config.production.php
95 lines (82 loc) · 3.05 KB
/
wp-config.production.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?php
/**
* Production environment config settings
*
* Enter any WordPress config settings that are specific to this environment
* in this file.
*
* @package Figuren_Theater
* @version 2022.10.17
* @author Carsten Bach <[email protected]>
*/
// ====================================================
// Use "Mercator Plugin"
//
// for domain-aliasing
// • of .puppen.test
// • of .puppen.theater
// • of .xip.io
// • and custom top-level domains
//
// @see https://github.com/humanmade/Mercator/wiki
// ====================================================
define( 'SUNRISE', true );
// Required to disable the mu-plugins/dmhendricks__network-subdomain-updater.php-Plugin from loading at all.
define( 'NETWORK_LOCAL_DOMAIN_DISABLE', true );
// ===================================================
// Disable WP Cron
// Cronjobs are triggered via devgeniem/wp-cron-runner
// ===================================================
define( 'DISABLE_WP_CRON', true );
// ======================================
// Manually activate the MAINTENANCE MODE
// ======================================
define( 'FT_MAINTENANCE_MODE', false );
// ========================
// WordPress Debugging Mode
// ========================
define( 'WP_DEBUG', false );
// phpcs:ignore
// define( 'WP_CACHE', false );
// ========================
// Normally (without any problems) this will be false all the time, so phpstan is yelling at me
// @phpstan-ignore-next-line
if ( constant( 'WP_DEBUG' ) ) {
// =======================================
// Logs including E_ALL and ~E_DEPRECATED,
// but without ~E_STRICT
//
// USE ONLY in PHP 5.3 or higher
// =======================================
@error_reporting( E_ALL ^ E_STRICT ); // phpcs:ignore
// ======================================
// Define separate php.debug.log Location
// ======================================
@ini_set( 'error_log', WP_CONTENT_DIR . '/logs/php.debug.log' ); // phpcs:ignore
// ============================================================
// SCRIPT_DEBUG is a related constant that will force WordPress
// to use the "dev" versions of core CSS and Javascript files
// rather than the minified versions that are normally loaded.
//
// This is useful when you are testing modifications
// to any built-in .js or .css files. Default is false.
// ============================================================
// define( 'SCRIPT_DEBUG', true );
// ====================
// Store Query History
// in WP database class
// ====================
// define( 'SAVEQUERIES', true );
// ============================
// Disable Caching during debug
// ============================
define( 'WP_CACHE', false );
// ===========================================
// Automatically activate the MAINTENANCE MODE
// ===========================================
defined( 'FT_MAINTENANCE_MODE' ) || define( 'FT_MAINTENANCE_MODE', true );
}
// =============================================
// CACHING with 'Cache Enabler' Plugin by KeyCDN
// =============================================
defined( 'WP_CACHE' ) || define( 'WP_CACHE', true );