diff options
author | Erich Eckner <git@eckner.net> | 2016-06-07 23:03:59 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-06-07 23:03:59 +0200 |
commit | 463985b144412c7c14a35eca1584b116d90fb7ca (patch) | |
tree | 0e7734a7c902c0c79f41fab5fee1ec898ca2dce8 | |
parent | 19e1ce038d63a71004926d8c0e4b2801ebfc0742 (diff) | |
download | sourceMirror-463985b144412c7c14a35eca1584b116d90fb7ca.tar.xz |
fpassthru -> while-fread-print (wegen Speichers)
-rw-r--r-- | mirror.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); } } |