-
Notifications
You must be signed in to change notification settings - Fork 2
/
wp.example.php
66 lines (51 loc) · 1.85 KB
/
wp.example.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
<?php
// Environment
const APP_ENV = 'development'; // production / staging / development
const APP_URL = 'http://boilerplate.test';
// Paths
const ROOT_PATH = __DIR__;
const WP_CONTENT_FOLDER = 'app';
// WordPress Settings
const WP_DEFAULT_THEME = 'boilerplate';
const WP_SITEURL = 'http://boilerplate.test/wp'; // WP Admin URL
const WP_DEBUG = true;
const WP_POST_REVISIONS = 5;
const WP_MEMORY_LIMIT = '512M';
const WP_MAX_MEMORY_LIMIT = '1280M';
// Services
// Google Translate
// const GOOGLE_TRANSLATE_KEY = '';
// AWS Translate
// const AWS_TRANSLATE_KEY = '';
// const AWS_TRANSLATE_SECRET = '';
// AWS (SES, etc)
// const AWS_ACCESS_KEY_ID = '';
// const AWS_SECRET_ACCESS_KEY = '';
// Google Maps
// const GOOGLE_MAPS_PUBLIC_KEY = '';
// Database
const DB_NAME = 'bond';
const DB_USER = 'root';
const DB_PASSWORD = '';
const DB_HOST = '127.0.0.1';
const DB_CHARSET = 'utf8mb4';
const DB_COLLATE = '';
$table_prefix = 'wp_';
// Salt - generate new keys here https://api.wordpress.org/secret-key/1.1/salt/
define('AUTH_KEY', 'copy & past new keys from the link above');
define('SECURE_AUTH_KEY', 'copy & past new keys from the link above');
define('LOGGED_IN_KEY', 'copy & past new keys from the link above');
define('NONCE_KEY', 'copy & past new keys from the link above');
define('AUTH_SALT', 'copy & past new keys from the link above');
define('SECURE_AUTH_SALT', 'copy & past new keys from the link above');
define('LOGGED_IN_SALT', 'copy & past new keys from the link above');
define('NONCE_SALT', 'copy & past new keys from the link above');
// Optional PHP settings
// Error reporting - development
error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', 'on');
// Error reporting - production
// error_reporting(E_ERROR);
// ini_set('display_errors', 'off');
// default charset, if needed
// ini_set('default_charset', 'UTF-8');