diff options
author | Erich Eckner <git@eckner.net> | 2020-06-22 11:43:02 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-06-22 11:43:02 +0200 |
commit | 521a03a54080c4a1915ce672107f93cf0177eab4 (patch) | |
tree | 05b91650399efc1253a2a26a0fd498d1e9ba743b | |
parent | 31e575401080b381a6132d3835db54e5e7b3d121 (diff) | |
download | sourceMirror-521a03a54080c4a1915ce672107f93cf0177eab4.tar.xz |
mirror.php: use fpassthru instead of passthru(cat ...)
-rw-r--r-- | mirror.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -85,6 +85,8 @@ ); } else { - passthru("cat '".$pfad."'"); + $handle = fopen($pfad); + fpassthru($handle); + fclose($handle); } } |