generated from figuren-theater/new-ft-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wp-config.local.php
91 lines (79 loc) · 2.73 KB
/
wp-config.local.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
<?php
/**
* Development 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 );
// ===================================================
// Do not 'Disable WP Cron' locally
// ===================================================
define( 'DISABLE_WP_CRON', false );
// ========================
// WordPress Debugging Mode
// ========================
define( 'WP_DEBUG', true );
// ========================
// Locally this will be true all the time, so phpstan is yelling at me
// @phpstan-ignore-next-line
if ( constant( 'WP_DEBUG' ) ) {
// =====================================================
// WordPress Debugging Mode - Fine-Tuning
//
// Define a seperate php.debug.log
// This replaces the need for defining
// define( 'WP_DEBUG_LOG', true);
//
// because it does exactly this.
// @see http://wordpress.stackexchange.com/a/84269/20992
// =====================================================
// =======================================
// 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', false );
// ====================
// Store Query History
// in WP database class
// ====================
define( 'SAVEQUERIES', true );
}
// ======================================
// Manually activate the MAINTENANCE MODE
// ======================================
// define( 'FT_MAINTENANCE_MODE', true );
// ============================
// Disable Caching during debug
// ============================
define( 'WP_CACHE', false );