Ticket #6933: no_notices_during_config_load.diff
File no_notices_during_config_load.diff, 414 bytes (added by , 17 years ago) |
---|
-
wp-load.php
19 19 /** Define ABSPATH as this files directory */ 20 20 define( 'ABSPATH', dirname(__FILE__) . '/' ); 21 21 22 error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE); 23 22 24 if ( file_exists( ABSPATH . 'wp-config.php') ) { 23 25 24 26 /** The config file resides in ABSPATH */