aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/apache.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/apache.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/apache.php4
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
18switch ($obj->args['type']) { 18switch ($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',