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/dns.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/dns.php')
-rw-r--r-- | plugin/dns.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/dns.php b/plugin/dns.php index d9bc759..f770988 100644 --- a/plugin/dns.php +++ b/plugin/dns.php | |||
@@ -12,7 +12,7 @@ require_once 'inc/collectd.inc.php'; | |||
12 | # dns/dns_opcode-X.rrd | 12 | # dns/dns_opcode-X.rrd |
13 | # dns/dns_qtype-X.rrd | 13 | # dns/dns_qtype-X.rrd |
14 | 14 | ||
15 | $obj = new Type_GenericStacked($CONFIG); | 15 | $obj = new Type_GenericStacked($CONFIG, $_GET); |
16 | $obj->rrd_format = '%5.1lf%s'; | 16 | $obj->rrd_format = '%5.1lf%s'; |
17 | 17 | ||
18 | switch($obj->args['type']) { | 18 | switch($obj->args['type']) { |