diff options
Diffstat (limited to '')
| -rw-r--r-- | plugin/apache.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/apache.php b/plugin/apache.php index 7e4919a..226385e 100644 --- a/plugin/apache.php +++ b/plugin/apache.php | |||
| @@ -13,7 +13,7 @@ require_once 'inc/collectd.inc.php'; | |||
| 13 | # apache[-X]/apache_requests-X.rrd | 13 | # apache[-X]/apache_requests-X.rrd |
| 14 | # apache[-X]/apache_scoreboard-X.rrd | 14 | # apache[-X]/apache_scoreboard-X.rrd |
| 15 | 15 | ||
| 16 | $obj = new Type_Default($CONFIG); | 16 | $obj = new Type_Default($CONFIG, $_GET); |
| 17 | 17 | ||
| 18 | switch ($obj->args['type']) { | 18 | switch ($obj->args['type']) { |
| 19 | case 'apache_bytes': | 19 | case 'apache_bytes': |
| @@ -67,7 +67,7 @@ switch ($obj->args['type']) { | |||
| 67 | break; | 67 | break; |
| 68 | case 'apache_scoreboard': | 68 | case 'apache_scoreboard': |
| 69 | require_once 'type/GenericStacked.class.php'; | 69 | require_once 'type/GenericStacked.class.php'; |
| 70 | $obj = new Type_GenericStacked($CONFIG); | 70 | $obj = new Type_GenericStacked($CONFIG, $_GET); |
| 71 | $obj->data_sources = array('value'); | 71 | $obj->data_sources = array('value'); |
| 72 | $obj->order = array( | 72 | $obj->order = array( |
| 73 | 'open', | 73 | 'open', |
