Make WordPress Core

Ticket #6933: no_notices_during_config_load.diff

File no_notices_during_config_load.diff, 414 bytes (added by ryan, 17 years ago)
  • wp-load.php

     
    1919/** Define ABSPATH as this files directory */
    2020define( 'ABSPATH', dirname(__FILE__) . '/' );
    2121
     22error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE);
     23
    2224if ( file_exists( ABSPATH . 'wp-config.php') ) {
    2325
    2426        /** The config file resides in ABSPATH */