Skip to content
Snippets Groups Projects
Commit 0b836216 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Added some 404 handling to lib/exe/detail.php

parent e6e54bbf
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment