Suppress notices while loading config. fixes #6933 see #7087

git-svn-id: https://develop.svn.wordpress.org/trunk@8070 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-06-11 17:27:28 +00:00
parent bab6fa872c
commit 3d35af29a3
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@
/** Define ABSPATH as this files directory */
define( 'ABSPATH', dirname(__FILE__) . '/' );
error_reporting(E_ALL ^ E_NOTICE ^ E_USER_NOTICE);
if ( file_exists( ABSPATH . 'wp-config.php') ) {
/** The config file resides in ABSPATH */