-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathwp-config.php
115 lines (102 loc) · 3.02 KB
/
wp-config.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the
* installation. You don't have to use the web site, you can
* copy this file to "wp-config.php" and fill in the values.
*
* This file contains the following configurations:
*
* * MySQL settings
* * Secret keys
* * Database table prefix
* * ABSPATH
*
* @link https://codex.wordpress.org/Editing_wp-config.php
*
* @package WordPress
*/
require_once __DIR__ . '/config/memory.php';
require_once __DIR__ . '/config/salts.php';
require_once __DIR__ . '/config/content.php';
require_once __DIR__ . '/config/database.php';
require_once __DIR__ . '/config/plugins.php';
require_once __DIR__ . '/config/update.php';
require_once __DIR__ . '/config/upload.php';
require_once __DIR__ . '/config/cron.php';
/**
* Active directory configuration
*
* Configuration for the active directory login functionality
*/
if (file_exists(__DIR__ . '/config/ad.php')) {
require_once __DIR__ . '/config/ad.php';
}
/**
* Search concfiguration
*
* Configuration for the search functionality
*/
if (file_exists(__DIR__ . '/config/search.php')) {
require_once __DIR__ . '/config/search.php';
}
/**
* Sentry error tracking.
*
* Configuration for the error tracking functionality
*/
if (file_exists(__DIR__ . '/config/sentry.php')) {
require_once __DIR__ . '/config/sentry.php';
}
/**
* Cookie settings
*
* To enable this site as a multisite please rename the config/cookie-example.php file to
* cookie.php, then go ahead and edit the configurations
*/
if (file_exists(__DIR__ . '/config/cookie.php')) {
require_once __DIR__ . '/config/cookie.php';
}
/**
* Cache settings
*
* To enable this site as a multisite please rename the config/cache-example.php file to
* cache.php, then go ahead and edit the configurations
*/
if (file_exists(__DIR__ . '/config/cache.php')) {
require_once __DIR__ . '/config/cache.php';
}
/**
* Script settings
*/
if (file_exists(__DIR__ . '/config/scripts.php')) {
require_once __DIR__ . '/config/scripts.php';
}
/**
* Multisite settings
*
* To enable this site as a multisite please rename the config/multisite-example.php file to
* multisite.php, then go ahead and edit the configurations
*/
if (file_exists(__DIR__ . '/config/multisite.php')) {
require_once __DIR__ . '/config/multisite.php';
}
/**
* Developer settings
*
* You can create a file called "developer.php" in the config dir and
* put your dev-stuff and overrides inside.
*/
if (file_exists(__DIR__ . '/config/developer.php')) {
require_once __DIR__ . '/config/developer.php';
}
/* That's all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if (!defined('ABSPATH')) {
define('ABSPATH', dirname(__FILE__) . '/');
}
/** Force the use of sunrise.php */
define('SUNRISE', true);
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');