From af0adbbdfa262c3782de4d7f57e87fb7705f9397 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Tue, 5 Jan 2016 21:36:01 +0100 Subject: explicitly set Content-Type header to text/html Closes #128 --- detail.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'detail.php') diff --git a/detail.php b/detail.php index 3cd7155..875074b 100644 --- a/detail.php +++ b/detail.php @@ -5,6 +5,8 @@ require_once 'inc/functions.inc.php'; require_once 'inc/html.inc.php'; require_once 'inc/collectd.inc.php'; +header("Content-Type: text/html"); + # use width/height from config if nothing is given if (empty($_GET['x'])) $_GET['x'] = $CONFIG['detail-width']; -- cgit v1.1