From e0fe18ad90d26da5159ae0451fc74bab212f8133 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 12 Mar 2022 11:55:58 +0100 Subject: fopen() needs a second argument --- mirror.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3-70-g09d2