Last active
August 29, 2015 14:00
-
-
Save jester1979/7c5b67aaff4104cbb3b2 to your computer and use it in GitHub Desktop.
DTAP-variaties.config.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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