diff options
author | Pim van den Berg | 2014-05-03 11:15:53 +0200 |
---|---|---|
committer | Pim van den Berg | 2014-05-03 11:15:53 +0200 |
commit | 1c888304d33a8c1405b8716356ae300fad39521c (patch) | |
tree | ce0f5ef1946da9fd006a333f49233007fa574ae4 /plugin/varnish.php | |
parent | inc: mv graphs_from_plugin, build_url functions to html.inc.php (diff) | |
download | apt-panopticon_cgp-1c888304d33a8c1405b8716356ae300fad39521c.zip apt-panopticon_cgp-1c888304d33a8c1405b8716356ae300fad39521c.tar.gz apt-panopticon_cgp-1c888304d33a8c1405b8716356ae300fad39521c.tar.bz2 apt-panopticon_cgp-1c888304d33a8c1405b8716356ae300fad39521c.tar.xz |
type/Default: don't depend on external function GET
Diffstat (limited to 'plugin/varnish.php')
-rw-r--r-- | plugin/varnish.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/varnish.php b/plugin/varnish.php index 78d33bd..6b199b7 100644 --- a/plugin/varnish.php +++ b/plugin/varnish.php | |||
@@ -22,7 +22,7 @@ require_once 'inc/collectd.inc.php'; | |||
22 | #varnish-default-connections/connections-dropped.rrd | 22 | #varnish-default-connections/connections-dropped.rrd |
23 | #varnish-default-connections/connections-received.rrd | 23 | #varnish-default-connections/connections-received.rrd |
24 | 24 | ||
25 | $obj = new Type_Default($CONFIG); | 25 | $obj = new Type_Default($CONFIG, $_GET); |
26 | $obj->rrd_format = '%5.1lf%s'; | 26 | $obj->rrd_format = '%5.1lf%s'; |
27 | $obj->rrd_title = sprintf('%s (%s)', ucfirst($obj->args['pinstance']), $obj->args['category']); | 27 | $obj->rrd_title = sprintf('%s (%s)', ucfirst($obj->args['pinstance']), $obj->args['category']); |
28 | $obj->rrd_vertical = 'hits'; | 28 | $obj->rrd_vertical = 'hits'; |