aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/postgresql.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/postgresql.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/postgresql.php')
-rw-r--r--plugin/postgresql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/postgresql.php b/plugin/postgresql.php
index 361322d..03e5cee 100644
--- a/plugin/postgresql.php
+++ b/plugin/postgresql.php
@@ -21,7 +21,7 @@ require_once 'inc/collectd.inc.php';
21# postgresql-X/pg_n_tup_c-ins.rrd 21# postgresql-X/pg_n_tup_c-ins.rrd
22# postgresql-X/pg_n_tup_c-upd.rrd 22# postgresql-X/pg_n_tup_c-upd.rrd
23 23
24$obj = new Type_GenericStacked($CONFIG); 24$obj = new Type_GenericStacked($CONFIG, $_GET);
25$obj->rrd_format = '%5.1lf%s'; 25$obj->rrd_format = '%5.1lf%s';
26 26
27switch($obj->args['type']) { 27switch($obj->args['type']) {