aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/detail.php
diff options
context:
space:
mode:
Diffstat (limited to 'detail.php')
-rw-r--r--detail.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/detail.php b/detail.php
index e10fae3..d153768 100644
--- a/detail.php
+++ b/detail.php
@@ -1,6 +1,7 @@
1<?php 1<?php
2 2
3require_once 'conf/common.inc.php'; 3require_once 'conf/common.inc.php';
4require_once 'inc/functions.inc.php';
4require_once 'inc/html.inc.php'; 5require_once 'inc/html.inc.php';
5require_once 'inc/collectd.inc.php'; 6require_once 'inc/collectd.inc.php';
6 7
@@ -10,11 +11,11 @@ if (empty($_GET['x']))
10if (empty($_GET['y'])) 11if (empty($_GET['y']))
11 $_GET['y'] = $CONFIG['detail-heigth']; 12 $_GET['y'] = $CONFIG['detail-heigth'];
12 13
13$host = $_GET['h']; 14$host = validate_get($_GET['h'], 'host');
14$plugin = $_GET['p']; 15$plugin = validate_get($_GET['p'], 'plugin');
15$pinstance = $_GET['pi']; 16$pinstance = validate_get($_GET['pi'], 'pinstance');
16$type = $_GET['t']; 17$type = validate_get($_GET['t'], 'type');
17$tinstance = $_GET['ti']; 18$tinstance = validate_get($_GET['ti'], 'tinstance');
18$width = $_GET['x']; 19$width = $_GET['x'];
19$heigth = $_GET['y']; 20$heigth = $_GET['y'];
20$seconds = $_GET['s']; 21$seconds = $_GET['s'];