From 0b8362164d6b8853a5fcee5f590786de4cd5bcf1 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 2 Oct 2010 20:11:40 +0200 Subject: Added some 404 handling to lib/exe/detail.php --- lib/exe/detail.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/exe/detail.php') diff --git a/lib/exe/detail.php b/lib/exe/detail.php index 1ecb59e4e..35186f5dd 100644 --- a/lib/exe/detail.php +++ b/lib/exe/detail.php @@ -30,7 +30,8 @@ if($AUTH >= AUTH_READ){ $SRC = mediaFN($IMG); if(!@file_exists($SRC)){ //doesn't exist! - + header("HTTP/1.0 404 File not Found"); + $ERROR = 'File not found'; } }else{ // no auth -- cgit v1.2.3