-
Notifications
You must be signed in to change notification settings - Fork 0
/
wp-config.php
36 lines (29 loc) · 1.11 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
<?php
// ===================================================
// Load database info and local development parameters
// ===================================================
require( dirname( __FILE__ ) . '/config.php' );
define( 'DB_CHARSET', 'utf8mb4' );
define( 'DB_COLLATE', '' );
define( 'WPLANG', 'en_GB' );
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'wp_';
// ========================
// Custom Directory
// ========================
define( 'WP_HOME', 'http://'.$_SERVER['SERVER_NAME'] );
define( 'WP_SITEURL', WP_HOME . '/wordpress' );
define( 'WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'].'/content' );
define( 'WP_CONTENT_URL', '/content' );
// Disable people edit file from inside WordPress
define( 'DISALLOW_FILE_EDIT', true );
/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '\/wordpress\/');
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');