First Commit
This commit is contained in:
1 parent
5eb9dd037d
commit
2e62c0e60b
11877 files changed
+2035312
No files matched your search
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
include "phpdir.php";
|
||||
|
||||
if (!isset($file) || strlen($file) == 0) exit();
|
||||
if (!is_file("$webdir/attachments/$file")) exit();
|
||||
|
||||
header('Pragma: public');
|
||||
header('Expires: 0');
|
||||
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
||||
header('Cache-Control: private',false);
|
||||
header('Content-type: unknown');
|
||||
header('Content-Transfer-Encoding: binary');
|
||||
readfile("$webdir/attachments/$file");
|
||||
?>
|
||||
Reference in new issue
Block a user