summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-03-12 11:55:58 +0100
committerErich Eckner <git@eckner.net>2022-03-12 11:55:58 +0100
commite0fe18ad90d26da5159ae0451fc74bab212f8133 (patch)
treec3e30d6609fb90f060d8a4a0e88e639baad51238
parent2c02575d3a8f1b1a41c3275ffc4b41e7c16d6991 (diff)
downloadsourceMirror-e0fe18ad90d26da5159ae0451fc74bab212f8133.tar.xz
fopen() needs a second argument
-rw-r--r--mirror.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mirror.php b/mirror.php
index 08f0ca6..02cd4d3 100644
--- a/mirror.php
+++ b/mirror.php
@@ -87,7 +87,7 @@
}
else {
header('Content-Length: ' . $stat['size']);
- $handle = fopen($pfad);
+ $handle = fopen($pfad,"r");
fpassthru($handle);
fclose($handle);
}