aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/conf
diff options
context:
space:
mode:
authorPim van den Berg2012-08-10 18:56:30 +0200
committerPim van den Berg2012-08-10 19:00:16 +0200
commitfd04134830d3111c137b47c7ba25a049ab597715 (patch)
treec2390f06640f2127ab3e987cd3bdaf1d639b3dc2 /conf
parenttype: add scale support to default/generic stacked types (diff)
downloadapt-panopticon_cgp-fd04134830d3111c137b47c7ba25a049ab597715.zip
apt-panopticon_cgp-fd04134830d3111c137b47c7ba25a049ab597715.tar.gz
apt-panopticon_cgp-fd04134830d3111c137b47c7ba25a049ab597715.tar.bz2
apt-panopticon_cgp-fd04134830d3111c137b47c7ba25a049ab597715.tar.xz
introduce config option datasize to show graphs in bits or bytes
Config setting $CONFIG['datasize'] can be set to bits or bytes to show graph data in bits or bytes. Inspired-by: Neptune Ning (Plan) <frostyplanet@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/config.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/config.php b/conf/config.php
index 781172d..c6fce92 100644
--- a/conf/config.php
+++ b/conf/config.php
@@ -25,6 +25,9 @@ $CONFIG['time_range']['uptime'] = 31536000;
25# show load averages on overview page 25# show load averages on overview page
26$CONFIG['showload'] = true; 26$CONFIG['showload'] = true;
27 27
28# show graphs in bits or bytes
29$CONFIG['datasize'] = 'bytes';
30
28# browser cache time for the graphs (in seconds) 31# browser cache time for the graphs (in seconds)
29$CONFIG['cache'] = 90; 32$CONFIG['cache'] = 90;
30 33