summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wp-content/blogs.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/wp-content/blogs.php b/wp-content/blogs.php
index cf01353..18c1a96 100644
--- a/wp-content/blogs.php
+++ b/wp-content/blogs.php
@@ -8,7 +8,7 @@ if (
$current_blog->deleted == '1'
) {
header("HTTP/1.1 404 Not Found");
- graceful_fail('404 — File not found.');
+ die('404 — File not found.');
}
if ( !function_exists('wp_check_filetype') ) :
@@ -74,14 +74,14 @@ $file = $_GET[ 'file' ];
$file = constant( "ABSPATH" ) . constant( "UPLOADS" ) . $file;
if ( !is_file( $file ) ) {
header("HTTP/1.1 404 Not Found");
- graceful_fail('404 — File not found.');
+ die('404 — File not found.');
}
// These should never, ever be served
$never = array( 'js', 'exe', 'swf', 'class', 'tar', 'zip', 'rar' );
if ( in_array( preg_replace( '|.*\.(.*)$|', '$1', $file ), $never ) ) {
header("HTTP/1.1 404 Not Found");
- graceful_fail('404 — File not found.');
+ die('404 — File not found.');
}
$mime = wp_check_filetype( $_SERVER[ 'REQUEST_URI' ] );