Created
May 28, 2015 08:19
-
-
Save thierrypigot/47b8cbc11e9a977b8295 to your computer and use it in GitHub Desktop.
WordPress : Activer le débogage
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
| // Par défaut | |
| define('WP_DEBUG', false); | |
| /*------------------------------------*/ | |
| // Active le debogage | |
| define('WP_DEBUG', true); | |
| // Indique à WordPress de tout logger dans /wp-content/debug.log file | |
| define('WP_DEBUG_LOG', true); | |
| // Ne force pas la variable PHP 'display_errors' à être sur < strong >On | |
| define('WP_DEBUG_DISPLAY', false); | |
| // empêche les erreurs d'être affichées à l'écran | |
| @ini_set('display_errors', 0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment