aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/graph.php
diff options
context:
space:
mode:
authorPim van den Berg2014-07-16 23:35:23 +0200
committerPim van den Berg2014-07-16 23:37:24 +0200
commit5c090c0f64b290960c99b18ce28f3d2fda0e3391 (patch)
treeedceb258e03c3e7f66dba9fffc0a3093a5b7a4df /graph.php
parenttype/default: optionally draw min/max spikes in a lighter color in graphs (diff)
downloadapt-panopticon_cgp-5c090c0f64b290960c99b18ce28f3d2fda0e3391.zip
apt-panopticon_cgp-5c090c0f64b290960c99b18ce28f3d2fda0e3391.tar.gz
apt-panopticon_cgp-5c090c0f64b290960c99b18ce28f3d2fda0e3391.tar.bz2
apt-panopticon_cgp-5c090c0f64b290960c99b18ce28f3d2fda0e3391.tar.xz
graph: don't overwrite config rrdtool_opts by rrdtool_opts from json plugin
Closes #86
Diffstat (limited to 'graph.php')
-rw-r--r--graph.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/graph.php b/graph.php
index dadb2c5..0b7cee5 100644
--- a/graph.php
+++ b/graph.php
@@ -86,7 +86,7 @@ if (isset($plugin_json[$type]['vertical'])) {
86} 86}
87 87
88if (isset($plugin_json[$type]['rrdtool_opts'])) { 88if (isset($plugin_json[$type]['rrdtool_opts'])) {
89 $obj->rrdtool_opts = $plugin_json[$type]['rrdtool_opts']; 89 $obj->rrdtool_opts[] = $plugin_json[$type]['rrdtool_opts'];
90} 90}
91 91
92if (isset($plugin_json[$type]['datasize']) and $plugin_json[$type]['datasize']) 92if (isset($plugin_json[$type]['datasize']) and $plugin_json[$type]['datasize'])