Ticket #5669: 5669.wp-settings.diff
File 5669.wp-settings.diff, 819 bytes (added by , 17 years ago) |
---|
-
wp-settings.php
185 185 define('LANGDIR', WPINC . '/languages'); // no leading slash, no trailing slash 186 186 } 187 187 188 if( defined('WP_DEBUG') ) { 189 if( file_exists(ABSPATH . 'wp-content/debug.php') ) 190 include ABSPATH . 'wp-content/debug.php'; 191 else 192 require ABSPATH . WPINC . '/debug.php'; 193 } 194 188 195 /** 189 196 * Allows for the plugins directory to be moved from the default location. 190 197 * … … 433 440 if ( file_exists(TEMPLATEPATH . '/functions.php') ) 434 441 include(TEMPLATEPATH . '/functions.php'); 435 442 443 if( defined('WP_DEBUG') ) 444 add_action('shutdown', 'wp_log_shutdown'); 445 436 446 /** 437 447 * shutdown_action_hook() - Runs just before PHP shuts down execution. 438 448 *