aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--detail.php2
-rw-r--r--host.php2
-rw-r--r--index.php2
3 files changed, 6 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'];
diff --git a/host.php b/host.php
index 91e37f0..8c2f0a7 100644
--- a/host.php
+++ b/host.php
@@ -4,6 +4,8 @@ require_once 'conf/common.inc.php';
4require_once 'inc/html.inc.php'; 4require_once 'inc/html.inc.php';
5require_once 'inc/collectd.inc.php'; 5require_once 'inc/collectd.inc.php';
6 6
7header("Content-Type: text/html");
8
7$host = GET('h'); 9$host = GET('h');
8$plugin = GET('p'); 10$plugin = GET('p');
9 11
diff --git a/index.php b/index.php
index 94ecf80..b220241 100644
--- a/index.php
+++ b/index.php
@@ -4,6 +4,8 @@ include_once 'conf/common.inc.php';
4include_once 'inc/collectd.inc.php'; 4include_once 'inc/collectd.inc.php';
5require_once 'inc/html.inc.php'; 5require_once 'inc/html.inc.php';
6 6
7header("Content-Type: text/html");
8
7html_start(); 9html_start();
8 10
9$h = array(); 11$h = array();