Skip to content

Instantly share code, notes, and snippets.

@billyboozer
Created April 7, 2015 23:02
Show Gist options
  • Save billyboozer/3f11442841e5b755c8fb to your computer and use it in GitHub Desktop.
Save billyboozer/3f11442841e5b755c8fb to your computer and use it in GitHub Desktop.
<?php
/*
This is a sample local-config.php file
In it, you *must* include the four main database defines
You may include other settings here that you only want enabled on your local development checkouts
*/
define('DB_NAME', 'something');
define('DB_USER', 'someone');
define('DB_PASSWORD', '');
define('DB_HOST', 'localhost'); // Probably 'localhost'
// ==========================
// Other environment settings
// ==========================
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true); // Stored in wp-content/debug.log
define('WP_DEBUG_DISPLAY', true);
define('SCRIPT_DEBUG', true);
define('SAVEQUERIES', true);
define('FS_METHOD','direct');
define('WP_ENV', 'development');
// ==========================
// Account Settings
// ==========================
// define('GOOGLE_ANALYTICS_ID', 'UA-LOCALDEV');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment