-
Notifications
You must be signed in to change notification settings - Fork 4
/
wp-config-ddev.php
41 lines (33 loc) · 1.17 KB
/
wp-config-ddev.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
<?php
/**
* #ddev-generated: Automatically generated WordPress settings file.
* ddev manages this file and may delete or overwrite the file unless this comment is removed.
*
* @package ddevapp
*/
if ( getenv( 'IS_DDEV_PROJECT' ) == 'true' ) {
/** The name of the database for WordPress */
defined( 'DB_NAME' ) || define( 'DB_NAME', 'db' );
/** MySQL database username */
defined( 'DB_USER' ) || define( 'DB_USER', 'db' );
/** MySQL database password */
defined( 'DB_PASSWORD' ) || define( 'DB_PASSWORD', 'db' );
/** MySQL hostname */
defined( 'DB_HOST' ) || define( 'DB_HOST', 'ddev-wordpress-performance-db' );
/** WP_HOME URL */
defined( 'WP_HOME' ) || define( 'WP_HOME', 'https://wordpress-performance.ddev.site' );
/** WP_SITEURL location */
defined( 'WP_SITEURL' ) || define( 'WP_SITEURL', WP_HOME . '/' );
/** Enable debug */
defined( 'WP_DEBUG' ) || define( 'WP_DEBUG', true );
/**
* Set WordPress Database Table prefix if not already set.
*
* @global string $table_prefix
*/
if ( ! isset( $table_prefix ) || empty( $table_prefix ) ) {
// phpcs:disable WordPress.WP.GlobalVariablesOverride.Prohibited
$table_prefix = 'wp_';
// phpcs:enable
}
}