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/nginx.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 'plugin/nginx.php')
-rw-r--r-- | plugin/nginx.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/nginx.php b/plugin/nginx.php index 9d51a8e..d55a886 100644 --- a/plugin/nginx.php +++ b/plugin/nginx.php | |||
@@ -16,7 +16,7 @@ require_once 'inc/collectd.inc.php'; | |||
16 | # nginx/nginx_connections-writing.rrd | 16 | # nginx/nginx_connections-writing.rrd |
17 | # nginx/nginx_requests.rrd | 17 | # nginx/nginx_requests.rrd |
18 | 18 | ||
19 | $obj = new Type_Default($CONFIG); | 19 | $obj = new Type_Default($CONFIG, $_GET); |
20 | 20 | ||
21 | switch($obj->args['type']) | 21 | switch($obj->args['type']) |
22 | { | 22 | { |