summaryrefslogtreecommitdiff
path: root/app/Core/Response.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Core/Response.php')
-rw-r--r--app/Core/Response.php3
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;
}