Disable PHP error reporting in gears-manifest.php, load-scripts.php and load-styles.php since they don't load wp-settings, fix some notices

git-svn-id: https://develop.svn.wordpress.org/trunk@10939 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2009-04-15 19:55:41 +00:00
parent 7c02549e4c
commit 3ca11d47c9
5 changed files with 23 additions and 1 deletions

View File

@@ -1,5 +1,12 @@
<?php
/**
* Disable error reporting
*
* Set this to error_reporting( E_ALL ) or error_reporting( E_ALL | E_STRICT ) for debugging
*/
error_reporting(0);
/** Set ABSPATH for execution */
define( 'ABSPATH', dirname(dirname(__FILE__)) . '/' );
define( 'WPINC', 'wp-includes' );