Created
April 2, 2012 03:25
-
-
Save jeffsebring/2280342 to your computer and use it in GitHub Desktop.
WordPress Pro Config
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 | |
# Turn on Caching | |
#define('WP_CACHE', true); | |
# Set the Memory Limit | |
#define('WP_MEMORY_LIMIT', '64M'); | |
# Development Table prefix | |
#$table_prefix = 'dev_'; | |
# Development Database Info | |
#define( 'DB_NAME', 'DEVELOPMENT_DATABASE_NAME' ); | |
#define( 'DB_USER', 'DEVELOPMENT_DATABASE_USER' ); | |
#define( 'DB_PASSWORD', 'DEVELOPMENT_DATABASE_PASSWORD' ); | |
# Allow debugging | |
#define( 'WP_DEBUG', true ); | |
#define( 'SAVEQUERIES', true ); | |
#define( 'WP_LOCAL_DEV', true ); | |
#define( 'SCRIPT_DEBUG', true ); |
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 | |
# Compression | |
#@ini_set( "zlib.output_compression", "On"); | |
#@ini_set( 'zlib.output_compression_level', 9 ); | |
# Caching | |
#define( 'WP_CACHE', true); | |
if ( file_exists( dirname( __FILE__ ) . '/local.php' ) ) | |
include( dirname( __FILE__ ) . '/local.php' ); | |
$table_prefix = 'PREFIX_'; | |
if ( ! defined( 'DB_NAME' ) ) | |
define( 'DB_NAME', 'DATABASE' ); | |
if ( ! defined( 'DB_USER' ) ) | |
define( 'DB_USER', 'USERNAME' ); | |
if ( ! defined( 'DB_PASSWORD' ) ) | |
define( 'DB_PASSWORD', 'PASSWORD' ); | |
# Salts | |
#define( 'AUTH_KEY', '' ); | |
#define( 'SECURE_AUTH_KEY', '' ); | |
#define( 'LOGGED_IN_KEY', '' ); | |
#define( 'NONCE_KEY', '' ); | |
#define( 'AUTH_SALT', '' ); | |
#define( 'SECURE_AUTH_SALT', '' ); | |
#define( 'LOGGED_IN_SALT', '' ); | |
#define( 'NONCE_SALT', '' ); | |
#define( 'WP_SITEURL', 'WP_CORE_URL'); | |
#define( 'WP_HOME', 'HOME_URL' ); | |
#define( 'WP_CONTENT_DIR', 'CONTENT_PATH' ); | |
#define( 'WP_CONTENT_URL', 'CONTENT_URL' ); | |
define( 'DB_HOST', 'localhost' ); | |
define( 'DB_CHARSET', 'utf8' ); | |
define( 'DB_COLLATE', '' ); | |
define( 'WPLANG', '' ); | |
# Debugging | |
#define( 'WP_DEBUG', true ); | |
#define( 'SAVEQUERIES', true ); | |
#define( 'WP_LOCAL_DEV', true ); | |
#define( 'SCRIPT_DEBUG', true ); | |
if ( !defined( 'SCRIPT_DEBUG' ) ) | |
define( 'SCRIPT_DEBUG', false ); | |
if ( defined( WP_DEBUG ) ) : | |
define( 'WP_DEBUG_LOG', true ); | |
define( 'WP_DEBUG_DISPLAY', false ); | |
@ini_set( 'display_errors',0 ); | |
endif; | |
# Allow Multisite | |
#define('WP_ALLOW_MULTISITE', true); | |
# Mutisite Domain Mapping | |
#define( 'SUNRISE', 'on' ); | |
if ( !defined('ABSPATH') ) | |
define('ABSPATH', dirname(__FILE__) . '/'); | |
require_once(ABSPATH . 'wp-settings.php'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment