-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample-config.php
More file actions
66 lines (59 loc) · 2.48 KB
/
sample-config.php
File metadata and controls
66 lines (59 loc) · 2.48 KB
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-specific configuration file for Git-Optimized WordPress
*
* This file contains all sensitive, environment-specific data for a Git-optimized
* WordPress installation. It should *not* be committed to the project repository.
*
* To use, create a copy of this file named "config.php" and save it either at the
* web root or, for added security, one level above. Read more about placement here:
* https://wordpress.stackexchange.com/a/74972
*
* Once you've saved the file, update the contents per the current environment.
*/
/*
* Additional subdirectory
* If this instance of the project is inside an additional subdirectory (i.e. localhost dev
* environment) add the subdirectory name here, with a preceding (but no following) slash.
*/
define( 'ADDL_SUBDIR', '/additional_subdirectory' );
/* Database credentials */
define( 'DB_HOST', '' );
define( 'DB_NAME', '' );
define( 'DB_USER', '' );
define( 'DB_PASSWORD', '' );
/* Enforce SSL (if enabled) */
define( 'SSL_ENABLED', false ); // change to 'true' if SSL is enabled for this particular instance
/*
* Environment-specific salts & keys
* These will replace the default set stored in /wp-config.php
* Generate them here: https://api.wordpress.org/secret-key/1.1/salt/
*/
/* UNCOMMENT THIS SECTION AND REPLACE PLACEHOLDER TEXT WITH PROPERLY-GENERATED, ENVIRONMENT-SPECIFIC SALTS & KEYS
define( 'AUTH_KEY', 'replace_this_with_a_unique_phrase' );
define( 'SECURE_AUTH_KEY', 'replace_this_with_a_unique_phrase' );
define( 'LOGGED_IN_KEY', 'replace_this_with_a_unique_phrase' );
define( 'NONCE_KEY', 'replace_this_with_a_unique_phrase' );
define( 'AUTH_SALT', 'replace_this_with_a_unique_phrase' );
define( 'SECURE_AUTH_SALT', 'replace_this_with_a_unique_phrase' );
define( 'LOGGED_IN_SALT', 'replace_this_with_a_unique_phrase' );
define( 'NONCE_SALT', 'replace_this_with_a_unique_phrase' );
*/
/*
* Debug flags
* https://codex.wordpress.org/Debugging_in_WordPress
*/
define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', false ); // writes to wp-content/debug.log
define( 'WP_DEBUG_DISPLAY', false );
define( 'SCRIPT_DEBUG', false ); // force use of non-minified CSS / JS files
/*
* PHP error reporting
* for sorting out The White Screen of Death
*/
/*
error_reporting( E_ALL );
ini_set( 'display_errors', 1 );
*/
/* REMOVE THIS LINE ONCE YOU'VE FINISHED CONFIGURING THIS FILE */
die ( "<h1 style='font-weight:bold;font-family:sans-serif;color:#F00;'>" . __FILE__ . " is not configured!</h1>" );