X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/03f2fa83c13c1b532284205fa7efcab9b8b2c41f..607b7e02d77e7326161e8ec15639052d2040f745:/wp-load.php diff --git a/wp-load.php b/wp-load.php index 94a8b541..76dda74b 100644 --- a/wp-load.php +++ b/wp-load.php @@ -19,7 +19,9 @@ */ /** Define ABSPATH as this file's directory */ -define( 'ABSPATH', dirname(__FILE__) . '/' ); +if ( ! defined( 'ABSPATH' ) ) { + define( 'ABSPATH', dirname( __FILE__ ) . '/' ); +} error_reporting( E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_ERROR | E_WARNING | E_PARSE | E_USER_ERROR | E_USER_WARNING | E_RECOVERABLE_ERROR );