Skip to content

Instantly share code, notes, and snippets.

@jester1979
Last active August 29, 2015 14:00
Show Gist options
  • Save jester1979/7c5b67aaff4104cbb3b2 to your computer and use it in GitHub Desktop.
Save jester1979/7c5b67aaff4104cbb3b2 to your computer and use it in GitHub Desktop.
DTAP-variaties.config.php
<?php
if ( false !== stripos( $_SERVER['SERVER_NAME'], 'development' ) ) {
//development
define( 'WP_DEBUG', true ); //always develop with debugging on, or you are an idiot...
define( 'WP_CACHE', false ); //no caching of any fliles please
define( 'WP_LOCAL_DEV', true ); //for usage in Mark Jaquiths plugin
define( 'JETPACK_DEV_DEBUG', true ); //use Jetpack in Dev-mode
} else {
//production
define( 'WP_DEBUG', false );
define( 'WP_CACHE', true );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment