local-config.php
<pre><?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 );</pre>
wp-config.php
<pre><?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');</pre>
Revisions
- December 11, 2012 @ 12:06:24 [Current Revision] by PeterLugg
- December 11, 2012 @ 12:04:12 by PeterLugg
No comments yet.