summaryrefslogtreecommitdiffstats
path: root/library/Graphite/Graphing/Chart.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Graphite/Graphing/Chart.php')
-rw-r--r--library/Graphite/Graphing/Chart.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/Graphite/Graphing/Chart.php b/library/Graphite/Graphing/Chart.php
index ded8ae8..bee5e7d 100644
--- a/library/Graphite/Graphing/Chart.php
+++ b/library/Graphite/Graphing/Chart.php
@@ -107,9 +107,9 @@ class Chart
$response
->setHeader('Content-Type', 'image/png', true)
->setHeader('Content-Disposition', 'inline; filename="graph.png"', true)
- ->setHeader('Cache-Control', null, true)
- ->setHeader('Expires', null, true)
- ->setHeader('Pragma', null, true)
+ ->setHeader('Cache-Control', '', true)
+ ->setHeader('Expires', '', true)
+ ->setHeader('Pragma', '', true)
->setBody($image)
->sendResponse();