diff options
| -rw-r--r-- | detail.php | 2 | ||||
| -rw-r--r-- | host.php | 2 | ||||
| -rw-r--r-- | index.php | 2 |
3 files changed, 6 insertions, 0 deletions
| @@ -5,6 +5,8 @@ require_once 'inc/functions.inc.php'; | |||
| 5 | require_once 'inc/html.inc.php'; | 5 | require_once 'inc/html.inc.php'; |
| 6 | require_once 'inc/collectd.inc.php'; | 6 | require_once 'inc/collectd.inc.php'; |
| 7 | 7 | ||
| 8 | header("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 |
| 9 | if (empty($_GET['x'])) | 11 | if (empty($_GET['x'])) |
| 10 | $_GET['x'] = $CONFIG['detail-width']; | 12 | $_GET['x'] = $CONFIG['detail-width']; |
| @@ -4,6 +4,8 @@ require_once 'conf/common.inc.php'; | |||
| 4 | require_once 'inc/html.inc.php'; | 4 | require_once 'inc/html.inc.php'; |
| 5 | require_once 'inc/collectd.inc.php'; | 5 | require_once 'inc/collectd.inc.php'; |
| 6 | 6 | ||
| 7 | header("Content-Type: text/html"); | ||
| 8 | |||
| 7 | $host = GET('h'); | 9 | $host = GET('h'); |
| 8 | $plugin = GET('p'); | 10 | $plugin = GET('p'); |
| 9 | 11 | ||
| @@ -4,6 +4,8 @@ include_once 'conf/common.inc.php'; | |||
| 4 | include_once 'inc/collectd.inc.php'; | 4 | include_once 'inc/collectd.inc.php'; |
| 5 | require_once 'inc/html.inc.php'; | 5 | require_once 'inc/html.inc.php'; |
| 6 | 6 | ||
| 7 | header("Content-Type: text/html"); | ||
| 8 | |||
| 7 | html_start(); | 9 | html_start(); |
| 8 | 10 | ||
| 9 | $h = array(); | 11 | $h = array(); |
