diff --git a/local-config-sample.php b/local-config-sample.php index 616029f..9484041 100644 --- a/local-config-sample.php +++ b/local-config-sample.php @@ -6,6 +6,7 @@ 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( 'WP_LOCAL_DEV', true ); define( 'DB_NAME', 'local_db_name' ); define( 'DB_USER', 'local_db_user' ); define( 'DB_PASSWORD', 'local_db_password' ); diff --git a/wp-config.php b/wp-config.php index efaa42d..5fd65f2 100644 --- a/wp-config.php +++ b/wp-config.php @@ -3,7 +3,6 @@ // Load database info and local development parameters // =================================================== if ( file_exists( dirname( __FILE__ ) . '/local-config.php' ) ) { - define( 'WP_LOCAL_DEV', true ); include( dirname( __FILE__ ) . '/local-config.php' ); } else { define( 'WP_LOCAL_DEV', false );