diff options
author | Erich Eckner <git@eckner.net> | 2022-03-12 11:55:58 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-03-12 11:55:58 +0100 |
commit | e0fe18ad90d26da5159ae0451fc74bab212f8133 (patch) | |
tree | c3e30d6609fb90f060d8a4a0e88e639baad51238 /mirror.php | |
parent | 2c02575d3a8f1b1a41c3275ffc4b41e7c16d6991 (diff) | |
download | sourceMirror-e0fe18ad90d26da5159ae0451fc74bab212f8133.tar.xz |
fopen() needs a second argument
Diffstat (limited to 'mirror.php')
-rw-r--r-- | mirror.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ } else { header('Content-Length: ' . $stat['size']); - $handle = fopen($pfad); + $handle = fopen($pfad,"r"); fpassthru($handle); fclose($handle); } |