added flush() to file download
This commit is contained in:
parent
a6f4d90c92
commit
714ab2d78e
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user