diff options
author | Erich Eckner <git@eckner.net> | 2022-03-12 11:56:10 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-03-12 11:56:10 +0100 |
commit | 08d5a11a0806713ead3c0928123c3ceb0c296d18 (patch) | |
tree | 077e49eb3675775c7a032d7a7b2de47aa6ad173d | |
parent | e0fe18ad90d26da5159ae0451fc74bab212f8133 (diff) | |
download | sourceMirror-08d5a11a0806713ead3c0928123c3ceb0c296d18.tar.xz |
set proper Content-Type
-rw-r--r-- | mirror.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -86,6 +86,7 @@ ); } else { + header("Content-Type: ".mime_content_type($pfad)); header('Content-Length: ' . $stat['size']); $handle = fopen($pfad,"r"); fpassthru($handle); |