diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/memcached.php | 2 | ||||
-rw-r--r-- | plugin/swap.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugin/memcached.php b/plugin/memcached.php index b30c27c..e011c9e 100644 --- a/plugin/memcached.php +++ b/plugin/memcached.php | |||
@@ -21,7 +21,7 @@ require_once 'inc/collectd.inc.php'; | |||
21 | # ps_cputime.rrd | 21 | # ps_cputime.rrd |
22 | 22 | ||
23 | 23 | ||
24 | switch($_GET['t']) { | 24 | switch(GET('t')) { |
25 | # df-cache.rrd | 25 | # df-cache.rrd |
26 | case 'df': | 26 | case 'df': |
27 | require_once 'type/Default.class.php'; | 27 | require_once 'type/Default.class.php'; |
diff --git a/plugin/swap.php b/plugin/swap.php index 9449b55..c24d90b 100644 --- a/plugin/swap.php +++ b/plugin/swap.php | |||
@@ -11,7 +11,7 @@ require_once 'inc/collectd.inc.php'; | |||
11 | # swap/swap-free.rrd | 11 | # swap/swap-free.rrd |
12 | # swap/swap-used.rrd | 12 | # swap/swap-used.rrd |
13 | 13 | ||
14 | switch($_GET['t']) { | 14 | switch(GET('t')) { |
15 | case 'swap': | 15 | case 'swap': |
16 | require_once 'type/GenericStacked.class.php'; | 16 | require_once 'type/GenericStacked.class.php'; |
17 | $obj = new Type_GenericStacked($CONFIG); | 17 | $obj = new Type_GenericStacked($CONFIG); |