summaryrefslogtreecommitdiff
path: root/mirror.php
diff options
context:
space:
mode:
Diffstat (limited to 'mirror.php')
-rw-r--r--mirror.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mirror.php b/mirror.php
index 0b4477b..14b41aa 100644
--- a/mirror.php
+++ b/mirror.php
@@ -71,7 +71,10 @@
$inp = fopen($pfad,"r");
if (! $inp)
die("Kann '".$quelle."' ('".$pfad."') nicht &oouml;ffnen!");
- fpassthru($inp);
+ while(!feof($inp)) {
+ $buffer = fread($inp, 4096);
+ print $buffer;
+ }
fclose($inp);
}
}