From 714ab2d78e1bd41efa474bd7ef92e519550573de Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 19 May 2014 15:21:41 +0000 Subject: [PATCH] added flush() to file download --- codepot/src/codepot/controllers/code.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codepot/src/codepot/controllers/code.php b/codepot/src/codepot/controllers/code.php index 9140274d..7f9feb6f 100644 --- a/codepot/src/codepot/controllers/code.php +++ b/codepot/src/codepot/controllers/code.php @@ -414,7 +414,9 @@ class Code extends Controller header ('Content-Transfer-Encoding: binary'); header ('Content-Length: ' . strlen($file['content'])); flush (); + print $file['content']; + flush (); } else {