Last active
December 26, 2015 09:59
-
-
Save ArnaudBan/7133049 to your computer and use it in GitHub Desktop.
Les constantes dans WordPress
This file contains hidden or 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
/* | |
* WordPress debug | |
* http://codex.wordpress.org/Debugging_in_WordPress | |
*/ | |
define('WP_DEBUG', true); | |
// Log the error in wp_content/debug.log | |
define('WP_DEBUG_LOG', true); | |
// Show error only in debug.log | |
define('WP_DEBUG_DISPLAY', false); | |
// Deactive the files editor for more security | |
define("DESALLOW_FILE_EDIT", true); | |
// Jetpack local mode | |
define( 'JETPACK_DEV_DEBUG', true); | |
more : http://wpengineer.com/2382/wordpress-constants-overview/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment