generated from figuren-theater/new-ft-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wp-config.staging.php
65 lines (56 loc) · 2.15 KB
/
wp-config.staging.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
<?php
/**
* Staging 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-mapping via .xip.io
// @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 );
// ======================================
// Manually activate the MAINTENANCE MODE
// ======================================
// define( 'FT_MAINTENANCE_MODE', true );
// ========================
// WordPress Debugging Mode
// ========================
define( 'WP_DEBUG', 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 );
}