aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/mysql.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/mysql.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 '')
-rw-r--r--plugin/mysql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/mysql.php b/plugin/mysql.php
index 3d8b25b..445176b 100644
--- a/plugin/mysql.php
+++ b/plugin/mysql.php
@@ -6,7 +6,7 @@ require_once 'conf/common.inc.php';
6require_once 'type/GenericStacked.class.php'; 6require_once 'type/GenericStacked.class.php';
7require_once 'inc/collectd.inc.php'; 7require_once 'inc/collectd.inc.php';
8 8
9$obj = new Type_GenericStacked($CONFIG); 9$obj = new Type_GenericStacked($CONFIG, $_GET);
10$obj->rrd_format = '%5.1lf%s'; 10$obj->rrd_format = '%5.1lf%s';
11 11
12switch($obj->args['type']) 12switch($obj->args['type'])