aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/detail.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--detail.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/detail.php b/detail.php
index d8bd4eb..47ce197 100644
--- a/detail.php
+++ b/detail.php
@@ -4,6 +4,12 @@ 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
7# use width/height from config if nothing is given
8if (empty($_GET['x']))
9 $_GET['x'] = $CONFIG['detail-width'];
10if (empty($_GET['y']))
11 $_GET['y'] = $CONFIG['detail-heigth'];
12
7$host = $_GET['h']; 13$host = $_GET['h'];
8$plugin = $_GET['p']; 14$plugin = $_GET['p'];
9$pinstance = $_GET['pi']; 15$pinstance = $_GET['pi'];