summaryrefslogtreecommitdiff
path: root/wp-config.example.php
blob: 7003c2e898777c2a8a05bdab3b1de51fb91c6365 (plain)
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
<?php

define('WP_ENVIRONMENT_TYPE', 'production');

#define('WP_HOME', 'http://localhost');

define('DB_NAME', 'database_name_here');
define('DB_USER', 'username_here');
define('DB_PASSWORD', 'password_here');
define('DB_HOST', 'localhost');
define('DB_CHARSET', 'utf8mb4');
define('DB_COLLATE', '');
$table_prefix = 'wp_';

define('AUTH_KEY', 'put your unique phrase here');
define('SECURE_AUTH_KEY', 'put your unique phrase here');
define('LOGGED_IN_KEY', 'put your unique phrase here');
define('NONCE_KEY', 'put your unique phrase here');
define('AUTH_SALT', 'put your unique phrase here');
define('SECURE_AUTH_SALT', 'put your unique phrase here');
define('LOGGED_IN_SALT', 'put your unique phrase here');
define('NONCE_SALT', 'put your unique phrase here');

define('DISALLOW_FILE_EDIT', true);
define('WP_POST_REVISIONS', -1);
define('EMPTY_TRASH_DAYS', 3650);

if (WP_ENVIRONMENT_TYPE === 'development') {
    define('WP_DEBUG', true);
    define('SAVEQUERIES', true);
    define('SCRIPT_DEBUG', true);
    define('WP_DEBUG_DISPLAY', true);
    define('WP_DEBUG_LOG', true);
} else {
    ini_set('display_errors', 0);
    define('WP_DEBUG_DISPLAY', false);
    define('SCRIPT_DEBUG', false);
    define('DISALLOW_FILE_MODS', true);
}

if (! defined('ABSPATH')) {
    define('ABSPATH', __DIR__ . '/public/');
}

require_once __DIR__ . '/vendor/autoload.php';
require_once ABSPATH . 'wp-settings.php';