-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocal.php.example
75 lines (62 loc) · 2.24 KB
/
local.php.example
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
# vi set ai syntax=php
require_once('lib/main.php');
#error_reporting( -1 );
#ini_set( 'display_errors', 1 );
# IMPORTANT, Adjust! Vagrant environment is the following;
$siteTopLevelDomain = 'local';
##
## Deployment settings, here are the defaults:
##
#$wpd['memcache_array'] = array('localhost:11211');
#$wpd['pagespeed_key'] = null;
#$wpd['piwik_url'] = null;
#$wpd['meta_robots'] = null;
#$wpd['main_stylesheet_url'] = 'https://docs.webplatform.org/w/load.php?debug=false...';
#$siteTopLevelDomain = 'webplatform.org';
/**
* WebPlatform Blog
*
* See also:
* * http://generatewp.com/wp-config/
**/
define('WP_HOME', 'http://blog.' . $siteTopLevelDomain);
define('WP_SITEURL', 'http://blog.' . $siteTopLevelDomain . '/wordpress');
define('WP_CONTENT_DIR', $_SERVER['DOCUMENT_ROOT'] . '/wp-content');
define('WP_CONTENT_URL', 'http://blog.' . $siteTopLevelDomain . '/wp-content');
define('VHOST_URL', 'http://blog.' . $siteTopLevelDomain );
## Enforce SSL:
## * http://www.wpwhitesecurity.com/wordpress-security/definitive-guide-wordpress-ssl-setup/
#define('FORCE_SSL_LOGIN', true);
#define('FORCE_SSL_ADMIN', true);
/**
* Production friendly settings
**/
define('DISABLE_WP_CRON', true); ## This should be set to true, otherwise it might self-hammer the site
define('WP_CACHE', true);
define('WP_POST_REVISIONS', 3);
define('W3TC_EDGE_MODE', true); // Added by W3 Total Cache
define('WP_DEFAULT_THEME', 'webplatform');
/**
* Database configuration
*/
define('DB_NAME', 'wordpress');
define('DB_USER', 'root');
define('DB_PASSWORD', '');
define('DB_HOST', 'localhost');
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');
// Generate new ones https://api.wordpress.org/secret-key/1.1/salt/
define('AUTH_KEY', 'put your secret here');
define('SECURE_AUTH_KEY', 'put your secret here');
define('LOGGED_IN_KEY', 'put your secret here');
define('NONCE_KEY', 'put your secret here');
define('AUTH_SALT', 'put your secret here');
define('SECURE_AUTH_SALT', 'put your secret here');
define('LOGGED_IN_SALT', 'put your secret here');
define('NONCE_SALT', 'put your secret here');
#define('DISABLE_CACHE', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG', true);
define('SAVEQUERIES', true);
define('SCRIPT_DEBUG', true);