diff options
author | michael pereira | 2011-03-22 14:21:18 +0100 |
---|---|---|
committer | michael pereira | 2011-03-22 14:21:18 +0100 |
commit | 625239f1444e5fc82b783e36b84b27cee83303d2 (patch) | |
tree | 8a67e50e0770140729c3c7af688f6cf7c624702d | |
parent | Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff) | |
download | pbs2-625239f1444e5fc82b783e36b84b27cee83303d2.tar.gz pbs2-625239f1444e5fc82b783e36b84b27cee83303d2.tar.xz pbs2-625239f1444e5fc82b783e36b84b27cee83303d2.zip |
Download funtzt jetzt
-rw-r--r-- | application/modules/dev/controllers/BootisoController.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/application/modules/dev/controllers/BootisoController.php b/application/modules/dev/controllers/BootisoController.php index d8b4aec..97cb99c 100644 --- a/application/modules/dev/controllers/BootisoController.php +++ b/application/modules/dev/controllers/BootisoController.php @@ -48,13 +48,13 @@ class dev_BootisoController extends Zend_Controller_Action header('Expires: 0'); - - // create the gzipped tarfile. - - - - - + $handle = fopen($bootisoID.".zip", 'r'); + $chunk_size = 8192; + while ($chunk = fread($handle, $chunk_size)) { + echo $chunk; + ob_flush(); + } + } |