diff options
Diffstat (limited to '')
-rw-r--r-- | detail.php | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,6 +1,7 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | require_once 'conf/common.inc.php'; | 3 | require_once 'conf/common.inc.php'; |
4 | require_once 'inc/functions.inc.php'; | ||
4 | require_once 'inc/html.inc.php'; | 5 | require_once 'inc/html.inc.php'; |
5 | require_once 'inc/collectd.inc.php'; | 6 | require_once 'inc/collectd.inc.php'; |
6 | 7 | ||
@@ -10,11 +11,11 @@ if (empty($_GET['x'])) | |||
10 | if (empty($_GET['y'])) | 11 | if (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']; |