aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/conf
diff options
context:
space:
mode:
authorPim van den Berg2013-02-09 22:57:04 +0100
committerPim van den Berg2013-02-09 22:57:04 +0100
commitbae7725e9920e95caf6c072b29892165d784549b (patch)
tree117bd60bd4d0c9847bb69432db1688021a9d4ad2 /conf
parentplugin: remove php close tags (diff)
downloadapt-panopticon_cgp-bae7725e9920e95caf6c072b29892165d784549b.zip
apt-panopticon_cgp-bae7725e9920e95caf6c072b29892165d784549b.tar.gz
apt-panopticon_cgp-bae7725e9920e95caf6c072b29892165d784549b.tar.bz2
apt-panopticon_cgp-bae7725e9920e95caf6c072b29892165d784549b.tar.xz
detail.php: make terms configurable
Diffstat (limited to '')
-rw-r--r--conf/config.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/conf/config.php b/conf/config.php
index 1862044..b2fdc78 100644
--- a/conf/config.php
+++ b/conf/config.php
@@ -25,6 +25,16 @@ $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$CONFIG['term'] = array(
29 '2hour' => 3600 * 2,
30 '8hour' => 3600 * 8,
31 'day' => 86400,
32 'week' => 86400 * 7,
33 'month' => 86400 * 31,
34 'quarter'=> 86400 * 31 * 3,
35 'year' => 86400 * 365,
36);
37
28# show graphs in bits or bytes 38# show graphs in bits or bytes
29$CONFIG['network_datasize'] = 'bytes'; 39$CONFIG['network_datasize'] = 'bytes';
30 40