added flush() to file download

This commit is contained in:
hyung-hwan 2014-05-19 15:21:41 +00:00
parent a6f4d90c92
commit 714ab2d78e

View File

@ -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
{