aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup/crypt_acb.php
diff options
context:
space:
mode:
Diffstat (limited to 'packages/autoconfigbackup/crypt_acb.php')
-rw-r--r--packages/autoconfigbackup/crypt_acb.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/autoconfigbackup/crypt_acb.php b/packages/autoconfigbackup/crypt_acb.php
index 8c56dcaf..ba12af80 100644
--- a/packages/autoconfigbackup/crypt_acb.php
+++ b/packages/autoconfigbackup/crypt_acb.php
@@ -43,7 +43,10 @@
fwrite($pipes[0], $data);
fclose($pipes[0]);
- $rslt = stream_get_contents($pipes[1]);
+ while (!feof($pipes[1])) {
+ $rslt .= fread($pipes[1], 8192);
+ }
+
fclose($pipes[1]);
proc_close($fp);