diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-10-02 20:11:40 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-10-02 20:13:16 +0200 |
commit | 0b8362164d6b8853a5fcee5f590786de4cd5bcf1 (patch) | |
tree | 4ec3eeb5a174b27ba03a02227549ce6e10ca6aa4 /lib/exe | |
parent | e6e54bbf489558efff6d36ca016a745267d79f7d (diff) | |
download | rpg-0b8362164d6b8853a5fcee5f590786de4cd5bcf1.tar.gz rpg-0b8362164d6b8853a5fcee5f590786de4cd5bcf1.tar.bz2 |
Added some 404 handling to lib/exe/detail.php
Diffstat (limited to 'lib/exe')
-rw-r--r-- | lib/exe/detail.php | 3 |
1 files changed, 2 insertions, 1 deletions
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 |