-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwp-config.php
75 lines (67 loc) · 2.03 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
<?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 'config/content.php';
require_once 'config/database.php';
require_once 'config/salts.php';
require_once 'config/plugins.php';
require_once 'config/update.php';
require_once 'config/upload.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 '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 'config/cache.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 '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 'config/developer.php';
}
/* That's all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');