--- a/wp/wp-includes/ms-files.php Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-includes/ms-files.php Tue Sep 27 16:37:53 2022 +0200
@@ -8,6 +8,7 @@
* @subpackage Multisite
*/
+define( 'MS_FILES_REQUEST', true );
define( 'SHORTINIT', true );
require_once dirname( __DIR__ ) . '/wp-load.php';
@@ -17,8 +18,6 @@
ms_file_constants();
-error_reporting( 0 );
-
if ( '1' == $current_blog->archived || '1' == $current_blog->spam || '1' == $current_blog->deleted ) {
status_header( 404 );
die( '404 — File not found.' );