New Paste

 

Recent Pastes

Administrate




PageLines PasteBin.

PasteID: 6uz
Pasted by Anonymous, 2013-01-08 17:50:49 GMT
Expires Never
Paste size 500 b
Toggle Expand   Wrap   Raw
Copy Contents   Copy URL
 
  1. /**
  2.  *
  3.  * https://managewp.com/favorite-wp-config-php-tips-and-tricks
  4.  *
  5.  * This will log all errors notices and warnings to a file called debug.log in
  6.  * wp-content only when WP_DEBUG is true. if Apache does not have write permission,
  7.  * you may need to create the file first and set the appropriate permissions (i.e. use 666).
  8.  */
  9.  
  10. define('WP_DEBUG', true);
  11. if (WP_DEBUG) {
  12.   define('WP_DEBUG_LOG', true);
  13.   define('WP_DEBUG_DISPLAY', false);
  14.   @ini_set('display_errors',0);
  15. }
 
 
 

 
 
 
 
 
Written by Xan Manning, 2010.
YOU NEED FLASH!