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-Transfer-Encoding: binary');
|
||||||
header ('Content-Length: ' . strlen($file['content']));
|
header ('Content-Length: ' . strlen($file['content']));
|
||||||
flush ();
|
flush ();
|
||||||
|
|
||||||
print $file['content'];
|
print $file['content'];
|
||||||
|
flush ();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user