aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/apcups.php
diff options
context:
space:
mode:
authorPim van den Berg2014-05-03 11:15:53 +0200
committerPim van den Berg2014-05-03 11:15:53 +0200
commit1c888304d33a8c1405b8716356ae300fad39521c (patch)
treece0f5ef1946da9fd006a333f49233007fa574ae4 /plugin/apcups.php
parentinc: mv graphs_from_plugin, build_url functions to html.inc.php (diff)
downloadapt-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/apcups.php')
-rw-r--r--plugin/apcups.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/apcups.php b/plugin/apcups.php
index 5566977..24d1918 100644
--- a/plugin/apcups.php
+++ b/plugin/apcups.php
@@ -17,7 +17,7 @@ require_once 'inc/collectd.inc.php';
17# apcups/voltage-input.rrd 17# apcups/voltage-input.rrd
18# apcups/voltage-output.rrd 18# apcups/voltage-output.rrd
19 19
20$obj = new Type_Default($CONFIG); 20$obj = new Type_Default($CONFIG, $_GET);
21 21
22switch($obj->args['type']) { 22switch($obj->args['type']) {
23 case 'charge': 23 case 'charge':