Slide 35
Slide 35 text
http://markjaquith.wordpress.com/2011/06/24/wordpress-local-dev-tips/
if ( file_exists( dirname( __FILE__ ) . '/local-
config.php' ) ) {
include( dirname( __FILE__ ) . '/local-config.php' );
define( 'WP_LOCAL_DEV', true );
define( 'WP_STAGING_DEV', false );
} else {
// ** MySQL settings - You can get this info from
your web host ** //
/** The name of the database for WordPress */
}