diff options
Diffstat (limited to 'app/Core/Response.php')
-rw-r--r-- | app/Core/Response.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Core/Response.php b/app/Core/Response.php index f8ca015c..71d99524 100644 --- a/app/Core/Response.php +++ b/app/Core/Response.php @@ -87,8 +87,9 @@ class Response { $this->status($status_code); $this->nocache(); + header('Content-Type: text/csv'); - Tool::csv($data); + Csv::output($data); exit; } |