mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Fix #2376 unnecessary header output in menu, document, layout modules
This commit is contained in:
parent
f2bd5280c1
commit
e4c3c5ac6c
3 changed files with 5 additions and 16 deletions
|
|
@ -618,11 +618,8 @@ class LayoutAdminController extends Layout
|
|||
|
||||
$stream = $tar->toTarStream();
|
||||
$filename = 'faceoff_' . date('YmdHis') . '.tar';
|
||||
header("Cache-Control: ");
|
||||
header("Pragma: ");
|
||||
Context::setCacheControl(0);
|
||||
header("Content-Type: application/x-compressed");
|
||||
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
|
||||
// header("Content-Length: " .strlen($stream)); ?? why??
|
||||
header('Content-Disposition: attachment; filename="'. $filename .'"');
|
||||
header("Content-Transfer-Encoding: binary\n");
|
||||
echo $stream;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue