Last active
November 13, 2017 18:05
-
-
Save dnaber-de/e4a78f2354c5c5c1503f to your computer and use it in GitHub Desktop.
wp-config.php template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* WordPress config file template | |
* | |
* @link http://wpengineer.com/2382/wordpress-constants-overview/ | |
*/ | |
/** | |
* MySQL credentials | |
*/ | |
const DB_NAME = '%DB_NAME%'; | |
const DB_USER = '%DB_USER%'; | |
const DB_PASSWORD = '%DB_PASS%'; | |
const DB_HOST = 'localhost'; | |
const DB_CHARSET = 'utf8mb4'; | |
const DB_COLLATE = 'utf8mb4_unicode_ci'; | |
$GLOBALS[ 'table_prefix' ] = 'wp_'; | |
/** | |
* WP-CLI requires the variable $table_prefix declared explicitly in | |
* the global namespace | |
*/ | |
global $table_prefix; | |
#const WP_HOME = 'http://wp.localhost'; | |
#const WP_SITEURL = 'http://wp.localhost'; | |
const WP_ALLOW_MULTISITE = true; | |
const MULTISITE = false; | |
#const DOMAIN_CURRENT_SITE = ''; | |
#const PATH_CURRENT_SITE = '/'; | |
#const SITE_ID_CURRENT_SITE = 1; | |
#const BLOG_ID_CURRENT_SITE = 1; | |
#const SUBDOMAIN_INSTALL = TRUE; | |
#const COOKIE_DOMAIN = ''; | |
const WP_DEBUG = false; | |
const WP_DEBUG_DISPLAY = false; | |
const WP_DEBUG_LOG = false; | |
const SCRIPT_DEBUG = false; | |
/** | |
* @link https://api.wordpress.org/secret-key/1.1/salt/ | |
*/ | |
%SECURITY_KEYS% | |
defined( 'ABSPATH' ) or define( 'ABSPATH', __DIR__ . '/' ); | |
require_once ABSPATH . 'wp-settings.php'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment