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/aggregation.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 '')
-rw-r--r-- | plugin/aggregation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/aggregation.php b/plugin/aggregation.php index 3e8b598..c4353ce 100644 --- a/plugin/aggregation.php +++ b/plugin/aggregation.php | |||
@@ -13,7 +13,7 @@ $pi = explode("-", GET('pi')); | |||
13 | switch($pi[0]) { | 13 | switch($pi[0]) { |
14 | case 'cpu': | 14 | case 'cpu': |
15 | require_once 'type/GenericStacked.class.php'; | 15 | require_once 'type/GenericStacked.class.php'; |
16 | $obj = new Type_GenericStacked($CONFIG); | 16 | $obj = new Type_GenericStacked($CONFIG, $_GET); |
17 | $obj->data_sources = array('value'); | 17 | $obj->data_sources = array('value'); |
18 | $obj->order = array('idle', 'nice', 'user', 'wait', 'system', 'softirq', 'interrupt', 'steal'); | 18 | $obj->order = array('idle', 'nice', 'user', 'wait', 'system', 'softirq', 'interrupt', 'steal'); |
19 | $obj->ds_names = array( | 19 | $obj->ds_names = array( |