aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/detail.php
diff options
context:
space:
mode:
authorPim van den Berg2016-01-05 21:36:01 +0100
committerPim van den Berg2016-01-05 21:38:03 +0100
commitaf0adbbdfa262c3782de4d7f57e87fb7705f9397 (patch)
tree4e7f0805137dafdbfe0059bec36b9c659d4389b1 /detail.php
parentinc/functions: a host, pi and ti may contain colons (:) and spaces ( ) (diff)
downloadapt-panopticon_cgp-af0adbbdfa262c3782de4d7f57e87fb7705f9397.zip
apt-panopticon_cgp-af0adbbdfa262c3782de4d7f57e87fb7705f9397.tar.gz
apt-panopticon_cgp-af0adbbdfa262c3782de4d7f57e87fb7705f9397.tar.bz2
apt-panopticon_cgp-af0adbbdfa262c3782de4d7f57e87fb7705f9397.tar.xz
explicitly set Content-Type header to text/html
Closes #128
Diffstat (limited to 'detail.php')
-rw-r--r--detail.php2
1 files changed, 2 insertions, 0 deletions
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';
5require_once 'inc/html.inc.php'; 5require_once 'inc/html.inc.php';
6require_once 'inc/collectd.inc.php'; 6require_once 'inc/collectd.inc.php';
7 7
8header("Content-Type: text/html");
9
8# use width/height from config if nothing is given 10# use width/height from config if nothing is given
9if (empty($_GET['x'])) 11if (empty($_GET['x']))
10 $_GET['x'] = $CONFIG['detail-width']; 12 $_GET['x'] = $CONFIG['detail-width'];